mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix datastore:set function to include an additional parameter for expiration time in init-stream-lua.conf
This commit is contained in:
parent
40438cb694
commit
8941fbc479
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ init_by_lua_block {
|
|||
if not ok then
|
||||
logger:log(ERR, plugin)
|
||||
else
|
||||
local ok, err = datastore:set("plugin_" .. plugin.id, plugin, true)
|
||||
local ok, err = datastore:set("plugin_" .. plugin.id, plugin, nil, true)
|
||||
if not ok then
|
||||
logger:log(ERR, "can't save " .. plugin.id .. " into datastore : " .. err)
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue