Skip to content

Comments

Increase handover drain timeout from 5 minutes to 24 hours#234

Merged
fuziontech merged 2 commits intomainfrom
increase-handover-drain-timeout
Feb 18, 2026
Merged

Increase handover drain timeout from 5 minutes to 24 hours#234
fuziontech merged 2 commits intomainfrom
increase-handover-drain-timeout

Conversation

@fuziontech
Copy link
Member

Summary

  • Increases the handover drain timeout from 5 minutes to 24 hours so long-running queries aren't forcibly terminated during rolling deployments

Test plan

  • Verify the change in controlplane/handover.go
  • Deploy and confirm handover drains gracefully without hitting the timeout

🤖 Generated with Claude Code

fuziontech and others added 2 commits February 17, 2026 20:07
The 5-minute drain timeout was too aggressive — long-running queries
were being forcibly terminated during rolling deployments. Increase to
24 hours so existing connections can finish naturally.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds 3-tier config support (CLI flag, env var, YAML) following the
existing pattern for worker timeouts. Default remains 24h.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fuziontech fuziontech merged commit 13cb823 into main Feb 18, 2026
11 checks passed
@fuziontech fuziontech deleted the increase-handover-drain-timeout branch February 18, 2026 04:20
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