the initial slot is out of array
This commit is contained in:
parent
3580e64b5f
commit
ffb08beb49
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
|
||||
#define NGX_TIME_SLOTS 64
|
||||
|
||||
static ngx_uint_t slot = NGX_TIME_SLOTS;
|
||||
static ngx_uint_t slot;
|
||||
static ngx_atomic_t ngx_time_lock;
|
||||
|
||||
volatile ngx_msec_t ngx_current_msec;
|
||||
|
|
Loading…
Reference in a new issue