Skip to content

Commit

Permalink
Add comment for handler factory argumetns
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane Reuille committed Jul 30, 2015
1 parent 4dbc29a commit b64ee3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DependencyInjection/M6WebGuzzleHttpExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ protected function loadClient(ContainerBuilder $container, $clientId, array $con
*/
protected function setGuzzleProxyHandler(ContainerBuilder $container, $clientId, array $config)
{
// arguments in handler factories below represents the maximum number of idle handles.
// the values are the default defined in guzzle CurlHanddler and CurlMultiHandler
$handlerFactorySync = new Definition('%m6web_guzlehttp.handler.curlfactory.class%');
$handlerFactorySync->setArguments([3]);

Expand Down

0 comments on commit b64ee3b

Please sign in to comment.