diff --git a/lualib/resty/events/utils.lua b/lualib/resty/events/utils.lua index c49c828..947e9ee 100644 --- a/lualib/resty/events/utils.lua +++ b/lualib/resty/events/utils.lua @@ -3,7 +3,7 @@ local str_sub = string.sub local ngx = ngx -- luacheck: ignore local ngx_worker_id = ngx.worker.id -local ngx_worker_count = ngx.worker.count() +local ngx_worker_count = ngx.worker.count local function is_timeout(err)