Skip to content

Commit 06cc6ef

Browse files
committed
fix(server): keep main's 30-minute readiness window for service updates
1 parent 946aa5c commit 06cc6ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/serviceLauncher.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const HANDOFF_DELAY_MS = 2_000;
3434
* Migrations count toward it and can scale with the database: tens of GB on a cold page cache
3535
* take minutes. A missed window rolls back the database, so the next attempt pays the same cost.
3636
*/
37-
const PREPARED_TIMEOUT_MS = 10 * 60_000;
37+
const PREPARED_TIMEOUT_MS = 30 * 60_000;
3838
const TERMINATE_GRACE_MS = 5_000;
3939
const CRASH_RESTART_BASE_MS = 1_000;
4040
const CRASH_RESTART_MAX_MS = 30_000;

0 commit comments

Comments
 (0)