• antirez's avatar
    Precise timeouts: cleaup the table on unblock. · 0e22cb26
    antirez authored
    Now that this mechanism is the sole one used for blocked clients
    timeouts, it is more wise to cleanup the table when the client unblocks
    for any reason. We use a flag: CLIENT_IN_TO_TABLE, in order to avoid a
    radix tree lookup when the client was already removed from the table
    because we processed it by scanning the radix tree.
    0e22cb26
server.c 187 KB