Skip to content

Commit

Permalink
Merge pull request #11507 from camptocamp/backport/11506-to-master
Browse files Browse the repository at this point in the history
[Backport master] Also invalidate the ogc-server cache
  • Loading branch information
sbrunner authored Nov 8, 2024
2 parents 7a79ecc + e29c561 commit 1c5d723
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geoportal/c2cgeoportal_geoportal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ def includeme(config: pyramid.config.Configurator) -> None:
@zope.event.classhandler.handler(InvalidateCacheEvent) # type: ignore[misc]
def handle(event: InvalidateCacheEvent) -> None:
del event
caching.invalidate_region("ogc-server")
caching.invalidate_region("std")
caching.invalidate_region("obj")
if caching.MEMORY_CACHE_DICT:
Expand Down

0 comments on commit 1c5d723

Please sign in to comment.