mirror of https://github.com/citusdata/citus.git
Fix epoll_ctl() error message on connection error
parent
89d5bed88d
commit
82f1fffa28
|
@ -2294,8 +2294,8 @@ ManageWorkerPool(WorkerPool *workerPool)
|
||||||
/* create a session for the connection */
|
/* create a session for the connection */
|
||||||
WorkerSession *session = FindOrCreateWorkerSession(workerPool, connection);
|
WorkerSession *session = FindOrCreateWorkerSession(workerPool, connection);
|
||||||
|
|
||||||
/* always poll the connection in the first round */
|
/* immediately run the state machine to handle potential failure */
|
||||||
UpdateConnectionWaitFlags(session, WL_SOCKET_READABLE | WL_SOCKET_WRITEABLE);
|
ConnectionStateMachine(session);
|
||||||
}
|
}
|
||||||
|
|
||||||
workerPool->lastConnectionOpenTime = GetCurrentTimestamp();
|
workerPool->lastConnectionOpenTime = GetCurrentTimestamp();
|
||||||
|
|
Loading…
Reference in New Issue