Merge pull request #685 from BrianMwit/patch-1

Fix misleading argument name in SentinelReplication
This commit is contained in:
Till Krüss
2021-04-04 10:34:53 -07:00
committed by GitHub
@@ -146,14 +146,14 @@ class SentinelReplication implements ReplicationInterface
}
/**
* Sets the time to wait (in seconds) before fetching a new configuration
* Sets the time to wait (in milliseconds) before fetching a new configuration
* from one of the sentinels.
*
* @param float $seconds Time to wait before the next attempt.
* @param float $milliseconds Time to wait before the next attempt.
*/
public function setRetryWait($seconds)
public function setRetryWait($milliseconds)
{
$this->retryWait = (float) $seconds;
$this->retryWait = (float) $milliseconds;
}
/**