Precise timeouts: fast exit for clientsHandleShortTimeout().
This commit is contained in:
parent
8d11e0df7a
commit
077f965426
@ -1585,6 +1585,7 @@ void addClientToShortTimeoutTable(client *c) {
|
||||
/* This function is called in beforeSleep() in order to unblock ASAP clients
|
||||
* that are waiting in blocking operations with a short timeout set. */
|
||||
void clientsHandleShortTimeout(void) {
|
||||
if (raxSize(server.clients_timeout_table) == 0) return;
|
||||
uint64_t now = mstime();
|
||||
raxIterator ri;
|
||||
raxStart(&ri,server.clients_timeout_table);
|
||||
|
Loading…
x
Reference in New Issue
Block a user