fix segfault
This commit is contained in:
parent
ef4b13c803
commit
fca26b0415
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ ngx_event_process_init(ngx_cycle_t *cycle)
|
|||
ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module);
|
||||
ecf = ngx_event_get_conf(cycle->conf_ctx, ngx_event_core_module);
|
||||
|
||||
if (ccf->worker_processes > 1 && ecf->accept_mutex) {
|
||||
if (ccf->master && ccf->worker_processes > 1 && ecf->accept_mutex) {
|
||||
ngx_use_accept_mutex = 1;
|
||||
ngx_accept_mutex_held = 0;
|
||||
ngx_accept_mutex_delay = ecf->accept_mutex_delay;
|
||||
|
|
Loading…
Reference in a new issue