Skip to content

Commit

Permalink
Set the auto populate config property
Browse files Browse the repository at this point in the history
  • Loading branch information
merk committed Apr 28, 2016
1 parent 433f4e8 commit 7174f66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Elastica/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public function __construct($config = array(), $callback = null, LoggerInterface
$this->_logger = $logger ?: new NullLogger();

if (!$config instanceof ConnectionPoolInterface) {
$this->_autoPopulate = isset($config['document']['autoPopulate']) ? $config['document']['autoPopulate'] : false;
$this->_retryOnConflict = isset($config['retryOnConflict']) ? $config['retryOnConflict'] : false;

$builder = new PoolBuilder();
Expand Down

0 comments on commit 7174f66

Please sign in to comment.