Skip to content

sqlalchemy: set connect_timeout to 4 seconds#4845

Merged
risicle merged 1 commit into
mainfrom
ris-sqlalchemy-connect-timeout-4
May 11, 2026
Merged

sqlalchemy: set connect_timeout to 4 seconds#4845
risicle merged 1 commit into
mainfrom
ris-sqlalchemy-connect-timeout-4

Conversation

@risicle
Copy link
Copy Markdown
Member

@risicle risicle commented May 8, 2026

We're currently seeing some unusual 5 second waits in api-web that aren't yielding the greenthread. If it's this 5s timeout that's responsible, changing it to 4s should cause us to start seeing 4s waits instead.

we're currently seeing some unusual 5 second waits in
api-web that aren't yielding the greenthread. if it's
*this* 5s timeout that's responsible, changing it to
4s should cause us to start seeing 4s waits instead.
@risicle risicle force-pushed the ris-sqlalchemy-connect-timeout-4 branch from 1805e58 to 1b101b8 Compare May 8, 2026 15:19
Copy link
Copy Markdown
Contributor

@CrystalPea CrystalPea left a comment

Choose a reason for hiding this comment

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

Are we changing the timeout as a performance improvement, or as a part of an investigation, or both?

@robinjam
Copy link
Copy Markdown
Contributor

Are we changing the timeout as a performance improvement, or as a part of an investigation, or both?

Just part of an investigation I think

@risicle risicle merged commit 22dd792 into main May 11, 2026
10 checks passed
@risicle risicle deleted the ris-sqlalchemy-connect-timeout-4 branch May 11, 2026 11:14
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.

3 participants