diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-01-27 11:35:11 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-01-27 11:35:11 +0300 |
commit | ba0391577b06446307fa073f856f57748557e0dd (patch) | |
tree | b2b871a041edee242662c95197bed292531c3a9a /src/nxt_log_moderation.c | |
parent | 6886b83c1f3bfdc514d58ad6e9ab40873cafcb54 (diff) | |
download | unit-ba0391577b06446307fa073f856f57748557e0dd.tar.gz unit-ba0391577b06446307fa073f856f57748557e0dd.tar.bz2 |
Work queues refactoring.
Diffstat (limited to 'src/nxt_log_moderation.c')
-rw-r--r-- | src/nxt_log_moderation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_log_moderation.c b/src/nxt_log_moderation.c index 5082270d..a571ae17 100644 --- a/src/nxt_log_moderation.c +++ b/src/nxt_log_moderation.c @@ -58,7 +58,7 @@ nxt_log_moderate_allow(nxt_log_moderation_t *mod) nxt_thread_spin_unlock(&mod->lock); if (timer) { - mod->timer.work_queue = &thr->work_queue.main; + mod->timer.work_queue = &thr->engine->fast_work_queue; mod->timer.handler = nxt_log_moderate_timer_handler; mod->timer.log = &nxt_main_log; |