FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Configurable maximum reconnection attempts by terrettaz · Pull Request #174 · pusher/pusher-websocket-java · GitHub

Configurable maximum reconnection attempts - #174

Closed
terrettaz wants to merge 1 commit into
pusher:masterfrom
terrettaz:master
Closed

Configurable maximum reconnection attempts#174
terrettaz wants to merge 1 commit into
pusher:masterfrom
terrettaz:master

Conversation

Copy link
Copy Markdown
Contributor

Description of the pull request

To make configurable the connection number of reconnection attempts.

Why is the change necessary?

In a server-mode use, hard-coded 6 reconnection attempts is not enough.

CC @pusher/mobile

private Authorizer authorizer;
private Proxy proxy = Proxy.NO_PROXY;
private int maxReconnectionAttempts = MAX_RECONNECTION_ATTEMPTS;
private int maxReconnectGabInSeconds = MAX_RECONNECT_GAP_IN_SECONDS;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

should be gap not gab

zmarkan commented Feb 21, 2018

Copy link
Copy Markdown
Contributor

Looks good, I'll merge and release today, thanks.

zmarkan commented Feb 21, 2018

Copy link
Copy Markdown
Contributor

I've fixed the typo and issued another PR. Closing this one.

zmarkan closed this Feb 21, 2018

zmarkan commented Feb 21, 2018
edited
Loading

Copy link
Copy Markdown
Contributor

@terrettaz I've just released this and it should propagate in maven central in a matter of hours - the version will be 1.8.0.
I'll merge the PR then which should also update the README for everyone.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL