Skip to content

Conversation

abmargb
Copy link
Collaborator

@abmargb abmargb commented Dec 15, 2014

When the XMPP server goes down, pending and new requests hangs waiting for reconnection. This makes the API unresponsive until the reconnection strategy kicks in. This change deactivates the reconnect flag and makes the server return 503 for any request during the offiline state.

lloydwatkin added a commit that referenced this pull request Dec 15, 2014
@lloydwatkin lloydwatkin merged commit 9c552c0 into develop Dec 15, 2014
@lloydwatkin lloydwatkin deleted the avoid-reconnection branch December 15, 2014 14:02
@lloydwatkin
Copy link
Member

Slight update, I just removed reconnect entirely.

@abmargb
Copy link
Collaborator Author

abmargb commented Dec 15, 2014

well spotted, thanks @lloydwatkin

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