Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Cap the time to retry txns to appservices to 8.5 minutes #320

Merged
merged 1 commit into from
Oct 22, 2015

Conversation

kegsay
Copy link
Member

@kegsay kegsay commented Oct 21, 2015

There's been numerous issues with people playing around with their
application service and then not receiving events from their HS for
ages due to backoff timers reaching crazy heights (albeit capped at
< 1 day).

Reduce the max time between pokes to be 8.5 minutes (2^9 secs) which
is quick enough for people to wait it out (avg wait time being 4.25 min)
but long enough to actually give the AS breathing room if it needs it.

There's been numerous issues with people playing around with their
application service and then not receiving events from their HS for
ages due to backoff timers reaching crazy heights (albeit capped at
< 1 day).

Reduce the max time between pokes to be 8.5 minutes (2^9 secs) which
is quick enough for people to wait it out (avg wait time being 4.25 min)
but long enough to actually give the AS breathing room if it needs it.
@erikjohnston
Copy link
Member

LGTM

erikjohnston added a commit that referenced this pull request Oct 22, 2015
Cap the time to retry txns to appservices to 8.5 minutes
@erikjohnston erikjohnston merged commit c9c82e8 into develop Oct 22, 2015
@erikjohnston erikjohnston deleted the appservice-retry-cap branch November 19, 2015 17:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants