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

[FIXED] Added jitter in the reconnect logic #564

Merged
merged 2 commits into from
May 13, 2020
Merged

[FIXED] Added jitter in the reconnect logic #564

merged 2 commits into from
May 13, 2020

Commits on May 6, 2020

  1. [FIXED] Added jitter in the reconnect logic

    -Add ReconnectJitter option setter allowing user to set jitter
     for non and TLS connections (possibly different values)
    -Default for non-TLS will be 100ms and TLS 1sec
    -Add a CustomReconnectDelay handler that is passed the number
     of full url lists attempts. The user callback will then return
     a duration that is going to be used for the wait. It is the
     responsibility of the user to send a delay with some jitter
     if desired.
    
    Resolves #563
    
    Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
    kozlovic committed May 6, 2020
    Configuration menu
    Copy the full SHA
    2431048 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2020

  1. Removed lastAttempt since it is no longer used

    Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
    kozlovic committed May 12, 2020
    Configuration menu
    Copy the full SHA
    b2be4bb View commit details
    Browse the repository at this point in the history