• antirez's avatar
    adjustOpenFilesLimit() refactoring. · 3580bb48
    antirez authored
    In this commit:
    * Decrement steps are semantically differentiated from the reserved FDs.
      Previously both values were 32 but the meaning was different.
    * Make it clear that we save setrlimit errno.
    * Don't explicitly handle wrapping of 'f', but prevent it from
      happening.
    * Add comments to make the function flow more readable.
    
    This integrates PR #1630
    3580bb48
redis.c 120 KB