Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use a thread pool again to make testing easier
  • Loading branch information
kraih committed Nov 4, 2014
1 parent 9a43a9b commit 29666a4
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 : undef;
my $NDN = NDN ? Net::DNS::Native->new(pool => 5, extra_thread => 1) : undef;

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

0 comments on commit 29666a4

Please sign in to comment.