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 */
|
||||
WorkerSession *session = FindOrCreateWorkerSession(workerPool, connection);
|
||||
|
||||
/* always poll the connection in the first round */
|
||||
UpdateConnectionWaitFlags(session, WL_SOCKET_READABLE | WL_SOCKET_WRITEABLE);
|
||||
/* immediately run the state machine to handle potential failure */
|
||||
ConnectionStateMachine(session);
|
||||
}
|
||||
|
||||
workerPool->lastConnectionOpenTime = GetCurrentTimestamp();
|
||||
|
|
Loading…
Reference in New Issue