Skip to content

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented May 16, 2025

Turns out unifying the database connection pool initialization had some unintended side effects for jobs in the background worker that use long-running database queries (e.g. SELECT refresh_recent_crate_downloads()).

This commit fixes the issue by explicitly overriding the timeout to be one hour instead of the default 30 sec.

Turns out unifying the database connection pool initialization had some unintended side effects for jobs in the background worker that use long-running database queries (e.g. `SELECT refresh_recent_crate_downloads()`).

This commit fixes the issue by explicitly overriding the timeout to be one hour instead of the default 30 sec.
@Turbo87 Turbo87 added C-bug 🐞 Category: unintended, undesired behavior A-backend ⚙️ labels May 16, 2025
@Turbo87 Turbo87 requested a review from a team May 16, 2025 13:32
@Turbo87 Turbo87 enabled auto-merge (squash) May 16, 2025 13:38
@Turbo87 Turbo87 merged commit 5889a7e into rust-lang:main May 16, 2025
9 checks passed
@Turbo87 Turbo87 deleted the oops-i-did-it-again branch May 16, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ C-bug 🐞 Category: unintended, undesired behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants