Threaded IO: second attempt without signaling conditions.

This commit is contained in:
antirez
2019-03-25 12:56:48 +01:00
parent a2dbd9bd97
commit 6f4f36c0fb
2 changed files with 55 additions and 51 deletions

View File

@ -2072,8 +2072,6 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
flushAppendOnlyFile(0);
/* Handle writes with pending output buffers. */
/* XXX: Put a condition based on number of waiting clients: if we
* have less than a given number of clients, use non threaded code. */
handleClientsWithPendingWritesUsingThreads();
/* Close clients that need to be closed asynchronous */