mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: chatd refactor (#26270)
Implements the chatd stabilization RFC. Combines: - https://github.com/coder/coder/pull/25908 - https://github.com/coder/coder/pull/25923 - https://github.com/coder/coder/pull/26109 - https://github.com/coder/coder/pull/26110 - https://github.com/coder/coder/pull/26111 - https://github.com/coder/coder/pull/26112
This commit is contained in:
@@ -20,6 +20,9 @@ const (
|
||||
// best-effort, so the turn proceeds without debug rows if the
|
||||
// DB is slow or locked. Matches the manual-title budget.
|
||||
debugCreateRunTimeout = 5 * time.Second
|
||||
// debugFinalizeTimeout caps best-effort debug run finalization
|
||||
// outside the runner's canceled context.
|
||||
debugFinalizeTimeout = 5 * time.Second
|
||||
// debugCleanupClockSkew gives cleanup cutoffs tolerance for cross-
|
||||
// replica clock drift. The cutoff is sampled from the DB
|
||||
// (updated_at returned by the status transition), and
|
||||
|
||||
Reference in New Issue
Block a user