Skip to content

Commit

Permalink
Merge pull request #121 from jcacciatore/bugfix-timeout-value
Browse files Browse the repository at this point in the history
Bug fix for issue # 51 (#51)
  • Loading branch information
jcacciatore committed Jul 22, 2016
2 parents 3aa32e2 + 7fcf4af commit 00551e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ public <R> Collection<OperationResult<R>> executeWithRing(Operation<CL, R> op) t
* @return
*/
public <R> Connection<CL> getConnectionForOperation(BaseOperation<CL, R> baseOperation) {
return selectionStrategy.getConnection(baseOperation, cpConfiguration.getConnectTimeout(), TimeUnit.MILLISECONDS);
return selectionStrategy.getConnection(baseOperation, cpConfiguration.getMaxTimeoutWhenExhausted(), TimeUnit.MILLISECONDS);
}

@Override
Expand Down

0 comments on commit 00551e7

Please sign in to comment.