Merge pull request #3607 from OthmanHaba/canary

fix(postgres): add default StopGracePeriod to prevent WAL corruption
This commit is contained in:
Mauricio Siu
2026-04-04 18:23:07 -06:00
committed by GitHub

View File

@@ -74,8 +74,7 @@ export const buildPostgres = async (postgres: PostgresNested) => {
Image: dockerImage,
Env: envVariables,
Mounts: [...volumesMount, ...bindsMount, ...filesMount],
...(StopGracePeriod !== null &&
StopGracePeriod !== undefined && { StopGracePeriod }),
StopGracePeriod: StopGracePeriod ?? 30_000_000_000,
...(command && {
Command: command.split(" "),
}),