On May 17, 2011, at 11:48, Markus Jansen wrote:
>  
> Another but smaller problem is that I have not seen an easy way to tell 
> POE::Component::Resolver all the way down
> from POE::Compoent::Client::HTTP that I would like to see less than 8 
> subprocesses for the resolver job.

Hi, Markus.

The entire POE::Component::Client::HTTP stack is customizable by configuring 
your own objects and passing them in, but it looks like I've forgotten to 
document everything.

Something like this should work:

POE::Component::Client::HTTP->spawn(
  ConnectionManager => POE::Component::Client::Keepalive->new(
    resolver => POE::Component::Resolver->new(
      max_resolvers => 2,
    )
  )
);

-- 
Rocco Caputo <rcap...@pobox.com>

Reply via email to