Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
FacetSourcePluginManager doesn't specify caching for its definitions. So every request that \Drupal\facets\FacetManager\DefaultFacetManager::alterQuery runs for each facet, it does at least one disk scan for annotation plugins.
Comment | File | Size | Author |
---|---|---|---|
#4 | Screen Shot 2020-11-17 at 11.13.20 PM.png | 113.79 KB | mglaman |
#4 | Screen Shot 2020-11-17 at 11.13.15 PM.png | 110.47 KB | mglaman |
#4 | Screen Shot 2020-11-17 at 11.13.11 PM.png | 103.32 KB | mglaman |
#3 | 3132752-3.patch | 1.35 KB | mglaman |
#2 | 3132752-2.patch | 721 bytes | mglaman |
Comments
Comment #2
mglamanAdds caching.
Comment #3
mglamanNeither does QueryTypePluginManager.
Comment #4
mglamanThis is still a thing.
Comment #6
borisson_Fixed. Thanks Matt!