Mercurial > hg > nginx-quic
diff src/event/modules/ngx_poll_module.c @ 3358:f94e8ff65aa2
add NGX_PROCESS_HELPER process status
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 23 Nov 2009 15:46:21 +0000 |
parents | a66d6dfd53f1 |
children | 0299cf5856fc |
line wrap: on
line diff
--- a/src/event/modules/ngx_poll_module.c +++ b/src/event/modules/ngx_poll_module.c @@ -72,7 +72,7 @@ ngx_poll_init(ngx_cycle_t *cycle, ngx_ms nevents = 0; } - if (ngx_process == NGX_PROCESS_WORKER + if (ngx_process >= NGX_PROCESS_WORKER || cycle->old_cycle == NULL || cycle->old_cycle->connection_n < cycle->connection_n) {