diff options
Diffstat (limited to 'modules/daf')
-rw-r--r-- | modules/daf/daf.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/daf/daf.lua b/modules/daf/daf.lua index 2ddbe032..28b6342b 100644 --- a/modules/daf/daf.lua +++ b/modules/daf/daf.lua @@ -296,7 +296,6 @@ end -- @function Publish DAF statistics local function publish(_, ws) - local cqueues = require('cqueues') local ok, last = true, nil while ok do -- Check if we have new rule matches @@ -318,7 +317,7 @@ local function publish(_, ws) else ok = ws:send_ping() end - cqueues.sleep(1) + worker.sleep(1) end end |