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

chore: SIGNAL-7217 increase timeout for Task.await_many to account for 15 sec DB timeouts + buffer #112

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

seungjinstord
Copy link
Contributor

@seungjinstord seungjinstord commented Oct 22, 2024

Related Ticket(s)

SIGNAL-7217

Checklist

Problem

Load testing in staging showed that sometimes the event handlers processed work past the default 5 second timeout of Task.await_many, therefore timing out. It's not frequent, but still significant, and an additional timeout to worry about.

Details

Giving it :infinity timeout because it is well beyond the 15 second DB connection timeout, and also past the default 60 sec API call timeouts from HTTPoison or 30 second socket timeout for Req/finch timeout.

That way there's at least a ceiling, but still enough time to do work without worrying about a 5 second timeout.

@seungjinstord seungjinstord self-assigned this Oct 22, 2024
@seungjinstord seungjinstord requested a review from a team as a code owner October 22, 2024 22:55
@seungjinstord seungjinstord requested a review from a team October 22, 2024 23:13
@seungjinstord seungjinstord merged commit 38ab6fc into main Oct 23, 2024
13 checks passed
@seungjinstord seungjinstord deleted the SIGNAL-7217-add-task-await-max-timeout branch October 23, 2024 02:27
seungjinstord pushed a commit that referenced this pull request Oct 23, 2024
An automated release has been created for you.
---


## [3.4.1](v3.4.0...v3.4.1)
(2024-10-23)


### Miscellaneous

* SIGNAL-7217 increase timeout for Task.await_many to account for 15 sec
DB timeouts + buffer
([#112](#112))
([38ab6fc](38ab6fc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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