We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 621405d commit 4871563Copy full SHA for 4871563
kong/plugins/config-by-env/handler.lua
@@ -54,11 +54,10 @@ function AppConfigHandler:access(conf)
54
end
55
56
function AppConfigHandler:init_worker()
57
- -- listen to all CRUD operations made on Consumers
58
kong.worker_events.register(function(data)
59
if data["entity"]["name"] == "config-by-env" then
60
kong.log.notice("config-by-env: Invalidating Config")
61
- kong.cache:invalidate_local("config-by-env-final")
+ kong.cache:invalidate("config-by-env-final")
62
63
end, "crud", "plugins:update")
64
0 commit comments