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

Reduce matrix /sync timeout from 30s to 25s #2815

Merged
merged 1 commit into from
Mar 18, 2025
Merged

Conversation

ratik21
Copy link
Collaborator

@ratik21 ratik21 commented Mar 18, 2025

What does this do?

One of the reasons we're getting lots of 503's could be due to sync timing out on the homeserver (attached sc)

image

Heroku by default has a 30s timeout which returns as 503. This is the same as our sync timeout. Basically, before the sync times out, i think heroku is timing out the request (code=H12 on logs) and returning 503.

This PR reduces our matrix timeout from 30s to 25s to avoid this.

@ratik21 ratik21 requested review from RickyRoller and a team March 18, 2025 04:16
@ratik21 ratik21 merged commit 7f7ddaa into main Mar 18, 2025
5 checks passed
@ratik21 ratik21 deleted the reduce-sync-timeout branch March 18, 2025 04:29
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.

1 participant