You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates an Nginx timer with a user callback function as well as optional user arguments.
8411
8414
@@ -8539,6 +8542,8 @@ table. It won't share the same `ngx.ctx` with the Lua handler creating the timer
8539
8542
If you need to pass data from the timer creator to the timer handler, please
8540
8543
use the extra parameters of `ngx.timer.at()`.
8541
8544
8545
+
Since nginx has been confirmed that all timers have been cleaned up when exit worker is executed, all timers will no longer be executed in exit worker phase. Reference <https://github.com/nginx/nginx/blob/f02e2a734ef472f0dcf83ab2e8ce96d1acead8a5/src/os/unix/ngx_process_cycle.c#L715>.
8546
+
8542
8547
This API was first introduced in the `v0.8.0` release.
Creates an Nginx timer with a user callback function as well as optional user arguments.
7202
7202
@@ -7328,13 +7328,15 @@ table. It won't share the same `ngx.ctx` with the Lua handler creating the timer
7328
7328
If you need to pass data from the timer creator to the timer handler, please
7329
7329
use the extra parameters of `ngx.timer.at()`.
7330
7330
7331
+
Since nginx has been confirmed that all timers have been cleaned up when exit worker is executed, all timers will no longer be executed in exit worker phase. Reference https://github.com/nginx/nginx/blob/f02e2a734ef472f0dcf83ab2e8ce96d1acead8a5/src/os/unix/ngx_process_cycle.c#L715.
7332
+
7331
7333
This API was first introduced in the <code>v0.8.0</code> release.
0 commit comments