Skip to content

Commit

Permalink
the thread pool does not survive a fork
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 4, 2014
1 parent 8b542f0 commit 9a43a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop/Client.pm
Expand Up @@ -11,7 +11,7 @@ use Socket qw(IPPROTO_TCP SO_ERROR TCP_NODELAY);
use constant NDN => $ENV{MOJO_NO_NDN}
? 0
: eval 'use Net::DNS::Native 0.10 (); 1';
my $NDN = NDN ? Net::DNS::Native->new(pool => 5, extra_thread => 1) : undef;
my $NDN = NDN ? Net::DNS::Native->new : undef;

# TLS support requires IO::Socket::SSL
use constant TLS => $ENV{MOJO_NO_TLS}
Expand Down

0 comments on commit 9a43a9b

Please sign in to comment.