Nginx : a more friendly hint

If the f-stack primary process hasn't been initialized successful, the nginx master gives a more friendly hint.
This commit is contained in:
陈威 2018-03-22 15:41:17 +08:00 committed by GitHub
parent 86b1f8131c
commit 778eaa4b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ ngx_start_worker_processes(ngx_cycle_t *cycle, ngx_int_t n, ngx_int_t type)
if (r == -1) { if (r == -1) {
ngx_log_error(NGX_LOG_ERR, cycle->log, ngx_errno, ngx_log_error(NGX_LOG_ERR, cycle->log, ngx_errno,
"start worker processes sem_timedwait"); "primary worker process failed to initialize");
exit(2); exit(2);
} }