Skip to content

Conversation

@BrianMwit
Copy link

In SentinelReplication, $this->retryWait is in milliseconds.
It's setter misleadingly document it as seconds. Fixing by renaming the variable name without altering the functionality.

I believe this patch would also apply to the main branch in https://github.com/predis/predis/blob/main/src/Connection/Replication/SentinelReplication.php#L153-L163.

$this->retryWait is in milliseconds. It's setter misleadingly document it as seconds.
Fixing by renaming the argument variable name without altering the functionality.
@tillkruss
Copy link
Member

Thanks @BrianMwit!

@tillkruss tillkruss merged commit 545177f into predis:v1.1 Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants