Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconnect jitter and delay #99

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Reconnect jitter and delay #99

wants to merge 3 commits into from

Conversation

kozlovic
Copy link
Member

Added for Go client for now, need to add when others are avail.

@kozlovic kozlovic marked this pull request as draft May 13, 2020 23:30
Copy link
Member

@ColinSullivan1 ColinSullivan1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@gcolliso
Copy link
Member

lgtm

@gcolliso
Copy link
Member

gcolliso commented Nov 4, 2021

@kozlovic this PR has been open for a while - is this ok to merge now or do we need other changes?

@kozlovic
Copy link
Member Author

kozlovic commented Nov 4, 2021

@gcolliso Oh wow.. yes this is an old one. We could add clients that have this feature before the merge, or do it after. I could add the C client to that PR before making it public.

@gcolliso
Copy link
Member

gcolliso commented Nov 4, 2021

@kozlovic you can add before the merge. If you know other clients and who may be able to contribute the code, feel free to tag them in this PR.

Added for Go client for now, need to add when others are avail.
Document that libraries will use default values if the ReconnectJitter
option is not specified.

Signed-off-by: Ivan Kozlovic <[email protected]>
Signed-off-by: Ivan Kozlovic <[email protected]>
@kozlovic kozlovic marked this pull request as ready for review November 4, 2021 17:22
@kozlovic
Copy link
Member Author

kozlovic commented Nov 4, 2021

@gcolliso Ok, I have added the C client. So now there is Go and C.

Pinging @aricart, @wallyqs, @scottf, @ColinSullivan1 to see if their library has this feature, and if so, if possible to add to it (could be done after merge of this PR or added as new commits).

@aricart
Copy link
Member

aricart commented Nov 4, 2021

@kozlovic yes it is implemented in JavaScript reconnectJitter and reconnectJitterTLS as well as reconnectDelayHandler.

@kozlovic
Copy link
Member Author

kozlovic commented Nov 4, 2021

@aricart So will you update this PR with code example or do you want to do it after this PR is merged?

@aricart
Copy link
Member

aricart commented Nov 4, 2021

@kozlovic Ginger is currently updating the doc for JavaScript, so when that is done, I can update it - the tab content in the current PR is documenting the old clients.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants