diff options
Diffstat (limited to 'src/daq/nginx-lua/s5-nginx-init.lua')
-rw-r--r-- | src/daq/nginx-lua/s5-nginx-init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/daq/nginx-lua/s5-nginx-init.lua b/src/daq/nginx-lua/s5-nginx-init.lua index d5bc6a7..9d73603 100644 --- a/src/daq/nginx-lua/s5-nginx-init.lua +++ b/src/daq/nginx-lua/s5-nginx-init.lua @@ -40,16 +40,16 @@ -- ngx.log(ngx.DEBUG, "SFive: loaded") -local sfive = ngx.shared.sfive; +local sfive = ngx.shared.sfive sfive:flush_all() sfive:flush_expired() -local sfive_log = ngx.shared.sfive_log; +local sfive_log = ngx.shared.sfive_log sfive_log:flush_all() sfive_log:flush_expired() local ok, err, force = sfive:set("log:idx", 0) if not ok then - ngx.log(ngx.ERR, "SFive: creating log index counter failed: " .. err) + ngx.log(ngx.ERR, "SFive(init): creating log index counter failed: " .. err) else - ngx.log(ngx.INFO, "SFive: initialized successfully!") + ngx.log(ngx.INFO, "SFive(init): initialized successfully!") end |