mirror of
https://github.com/nginx/nginx.git
synced 2025-06-06 00:42:40 +08:00
try to repair the case "select ready != events"
This commit is contained in:
parent
a1580f58dd
commit
b1e640a385
@ -429,7 +429,10 @@ ngx_select_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
|
||||
ngx_mutex_unlock(ngx_posted_events_mutex);
|
||||
|
||||
if (ready != nready) {
|
||||
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, "select ready != events");
|
||||
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
|
||||
"select ready != events: %d:%d", ready, nready);
|
||||
|
||||
ngx_select_repair_fd_sets(cycle);
|
||||
}
|
||||
|
||||
return NGX_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user