summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_master_process.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-01-30 16:47:50 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-01-30 16:47:50 +0300
commitbb87fa11ca65d1263a32f86d51d1daa89dc11544 (patch)
treed5e74fee091b15da7ecd058341d49dba304c9822 /src/nxt_master_process.c
parent952291c93c96c1dc5b63576e0ee034efde998b18 (diff)
downloadunit-bb87fa11ca65d1263a32f86d51d1daa89dc11544.tar.gz
unit-bb87fa11ca65d1263a32f86d51d1daa89dc11544.tar.bz2
nxt_event_timer has been renamed to nxt_timer.
Diffstat (limited to 'src/nxt_master_process.c')
-rw-r--r--src/nxt_master_process.c4
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;