Fix Finch timeout config options #939

Merged
Oneric merged 2 commits from Oneric/akkoma:finch-timeouts into develop 2025-06-08 11:11:13 +00:00
Owner

They’re duplicated and the one that’ſ actually used is lower than receive timeouts leading to (more frequent) issues from a race condition; see: https://github.com/sneako/finch/pull/292

I’ve changed the config for my option to the new default 60s a while ago without running into the race conditions again since

They’re duplicated and the one that’ſ actually used is lower than receive timeouts leading to (more frequent) issues from a race condition; see: https://github.com/sneako/finch/pull/292 I’ve changed the config for my option to the new default 60s a while ago without running into the race conditions again since
Oneric added 2 commits 2025-06-08 10:42:18 +00:00
This was added in a924e117fd
with its name mirroring Finch’s own config option, but with
pool_timeout such a setting already existed since
2fe1484ed3 and the new one
was never actually used.
config: raise Finch pool timeout
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful
ci/woodpecker/pr/build-arm64 Pipeline was successful
ci/woodpecker/pr/build-amd64 Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pull_request_closed/lint Pipeline was successful
ci/woodpecker/pull_request_closed/test/1 Pipeline was successful
ci/woodpecker/pull_request_closed/test/2 Pipeline was successful
ci/woodpecker/pull_request_closed/build-arm64 Pipeline was successful
ci/woodpecker/pull_request_closed/build-amd64 Pipeline was successful
ci/woodpecker/pull_request_closed/docs Pipeline was successful
80a65be38f
A pool timeout shorter than the receive timeout
makes race conditions leading to active connections
being killed more likely and laso just doesn’t make
much sense in general.

See: https://github.com/sneako/finch/pull/292
Oneric merged commit 242e798054 into develop 2025-06-08 11:11:13 +00:00
Oneric deleted branch finch-timeouts 2025-06-08 11:11:13 +00:00
Sign in to join this conversation.
No description provided.