fix: Fixes initializing cached keys.

This commit is contained in:
damencho
2024-02-16 11:34:05 -06:00
committed by Дамян Минков
parent a4d53f271f
commit 990d21038e
2 changed files with 3 additions and 2 deletions

View File

@@ -120,6 +120,7 @@ function Util.new(module)
end
if self.cacheKeysUrl then
self.cachedKeys = {};
local update_keys_cache;
update_keys_cache = async.runner(function (name)
content, code, cache_for = http_get_with_retry(self.cacheKeysUrl, nr_retries);