When the user-provided 'maxclients' value is too big for the max number of files...
authorantirez <antirez@gmail.com>
Tue, 3 Apr 2012 09:53:45 +0000 (11:53 +0200)
committerantirez <antirez@gmail.com>
Tue, 3 Apr 2012 09:53:45 +0000 (11:53 +0200)
commite7957ca6286b2d541fe6d47c5b95ec0f2c34e091
tree06d524d4130262e267c55f6a425669afa3cb3315
parent06e178708e46181c30a8ff99107d506ab76185f3
When the user-provided 'maxclients' value is too big for the max number of files we can open, at least try to search the max the OS is allowing (in steps of 256 filedes).
src/redis.c