Code review minor changes (names, comments).

This commit is contained in:
Yossi Gottlieb
2019-10-15 17:21:33 +03:00
parent 71f10de4de
commit c469f6ad9e
6 changed files with 37 additions and 7 deletions

View File

@ -2051,7 +2051,7 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
/* Handle TLS pending data. (must be done before flushAppendOnlyFile) */
tlsProcessPendingData();
/* If tls still has pending unread data don't sleep at all. */
aeDontWait(server.el, tlsHasPendingData());
aeSetDontWait(server.el, tlsHasPendingData());
/* Call the Redis Cluster before sleep function. Note that this function
* may change the state of Redis Cluster (from ok to fail or vice versa),