MCPcopy Create free account
hub / github.com/apache/thrift / setMaxConsecutiveFailures

Method setMaxConsecutiveFailures

lib/php/lib/Transport/TSocketPool.php:155–158  ·  view source on GitHub ↗

* Sets how many time to keep retrying a host before marking it as down. * * @param int $numRetries */

($maxConsecutiveFailures)

Source from the content-addressed store, hash-verified

153 * @param int $numRetries
154 */
155 public function setMaxConsecutiveFailures($maxConsecutiveFailures)
156 {
157 $this->maxConsecutiveFailures_ = $maxConsecutiveFailures;
158 }
159
160 /**
161 * Turns randomization in connect order on or off.

Callers 2

testOpenMethod · 0.45

Calls

no outgoing calls

Tested by 2

testOpenMethod · 0.36