mirror of
https://github.com/nginx/nginx.git
synced 2026-11-20 15:13:10 +00:00
Events: made a failure to create a notification channel non-fatal.
This may happen if eventfd() returns ENOSYS, notably seen on CentOS 5.4. Such a failure will now just disable the notification mechanism and let the callers cope with it, instead of failing to start worker processes. If thread pools are not configured, this can safely be ignored.
This commit is contained in:
parent
9a31e9faab
commit
26e32aaa9c
1 changed files with 1 additions and 1 deletions
|
|
@ -329,7 +329,7 @@ ngx_epoll_init(ngx_cycle_t *cycle, ngx_msec_t timer)
|
|||
|
||||
#if (NGX_HAVE_EVENTFD)
|
||||
if (ngx_epoll_notify_init(cycle->log) != NGX_OK) {
|
||||
return NGX_ERROR;
|
||||
ngx_epoll_module_ctx.actions.notify = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue