• antirez's avatar
    Process events with processEventsWhileBlocked() when blocked. · e29d3307
    antirez authored
    When we are blocked and a few events a processed from time to time, it
    is smarter to call the event handler a few times in order to handle the
    accept, read, write, close cycle of a client in a single pass, otherwise
    there is too much latency added for clients to receive a reply while the
    server is busy in some way (for example during the DB loading).
    e29d3307
aof.c 47 KB