mirror of
https://github.com/nginx/nginx.git
synced 2025-01-06 07:27:47 +08:00
the initial slot is out of array
This commit is contained in:
parent
84bab05c55
commit
f4b34c4754
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#define NGX_TIME_SLOTS 64
|
#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;
|
static ngx_atomic_t ngx_time_lock;
|
||||||
|
|
||||||
volatile ngx_msec_t ngx_current_msec;
|
volatile ngx_msec_t ngx_current_msec;
|
||||||
|
Loading…
Reference in New Issue
Block a user