Skip to content

Commit

Permalink
assume a limit of 1024 file descriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 21, 2015
1 parent a51551c commit 5466c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop/Server.pm
Expand Up @@ -49,7 +49,7 @@ sub listen {
$fd = $1 if $port && $ENV{MOJO_REUSE} =~ /(?:^|\,)\Q$address:$port\E:(\d+)/;

# Allow file descriptor inheritance
local $^F = 1000;
local $^F = 1023;

# Reuse file descriptor
my $handle;
Expand Down

0 comments on commit 5466c63

Please sign in to comment.