diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_master_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_master_process.c b/src/nxt_master_process.c index 8a11aa16..013c4d39 100644 --- a/src/nxt_master_process.c +++ b/src/nxt_master_process.c @@ -226,11 +226,11 @@ nxt_master_process_new_cycle(nxt_task_t *task, nxt_cycle_t *cycle) */ cycle->timer.handler = nxt_master_stop_previous_worker_processes; cycle->timer.log = &nxt_main_log; - nxt_event_timer_ident(&cycle->timer, -1); + nxt_timer_ident(&cycle->timer, -1); cycle->timer.work_queue = &thr->engine->fast_work_queue; - nxt_event_timer_add(thr->engine, &cycle->timer, 500); + nxt_timer_add(thr->engine, &cycle->timer, 500); return; |