Skip to content

Commit

Permalink
fix(core) correct noisy acl warmup
Browse files Browse the repository at this point in the history
Fixes #13205
  • Loading branch information
jeremyjpj0916 authored and hanshuebner committed Jun 27, 2024
1 parent b5baf94 commit df74ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kong/cache/warmup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local ngx = ngx
local now = ngx.now
local log = ngx.log
local NOTICE = ngx.NOTICE

local DEBUG = ngx.DEBUG

local NO_TTL_FLAG = require("kong.resty.mlcache").NO_TTL_FLAG

Expand Down Expand Up @@ -145,7 +145,7 @@ function cache_warmup.single_dao(dao)
end

if entity_name == "acls" and acl_groups ~= nil then
log(NOTICE, "warmup acl groups cache for consumer id: ", entity.consumer.id , "...")
log(DEBUG, "warmup acl groups cache for consumer id: ", entity.consumer.id , "...")
local _, err = acl_groups.warmup_groups_cache(entity.consumer.id)
if err then
log(NOTICE, "warmup acl groups cache for consumer id: ", entity.consumer.id , " err: ", err)
Expand Down

1 comment on commit df74ecd

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:df74ecdcb117bb9c20dcb4cf18f7e0b4f09fbc58
Artifacts available https://github.com/Kong/kong/actions/runs/9698196652

Please sign in to comment.