You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is visible in nginx logs when trying to set value in lrucache:
*10 lua entry thread aborted: runtime error: /usr/share/lua/5.1/resty/lrucache.lua:223: table index is nil
Code leading to the error:
access_by_lua_block {
local lrucache = require "resty.lrucache"
local cache, cache_init_err = lrucache.new(10)
if not cache or cache_init_err then
log(ERROR, "Failed to create cache. Reason: " .. (cache_init_err or "unknown"))
else
cache:set("dog", 32)
end
}
lua-resty-lrucache ver.: 0.08
The text was updated successfully, but these errors were encountered:
The following error is visible in nginx logs when trying to set value in lrucache:
*10 lua entry thread aborted: runtime error: /usr/share/lua/5.1/resty/lrucache.lua:223: table index is nil
Code leading to the error:
lua-resty-lrucache ver.: 0.08
The text was updated successfully, but these errors were encountered: