Skip to content

Commit 12d4f29

Browse files
committed
Periodic flush interval is in seconds
1 parent 589b3f8 commit 12d4f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resty/logger/socket.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ function _M.init(user_config)
386386
if periodic_flush then
387387
if debug then
388388
ngx_log(DEBUG, "periodic flush enabled for every "
389-
.. periodic_flush .. " milliseconds")
389+
.. periodic_flush .. " seconds")
390390
end
391391
need_periodic_flush = true
392392
timer_at(periodic_flush, _periodic_flush)

0 commit comments

Comments
 (0)