• antirez's avatar
    Issue #4027: unify comment and modify return value in freeMemoryIfNeeded(). · c9097393
    antirez authored
    It looks safer to return C_OK from freeMemoryIfNeeded() when clients are
    paused because returning C_ERR may prevent success of writes. It is
    possible that there is no difference in practice since clients cannot
    execute writes while clients are paused, but it looks more correct this
    way, at least conceptually.
    
    Related to PR #4028.
    c9097393
expire.c 19.8 KB