We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 745cf9d + 67899c7 commit 85c409eCopy full SHA for 85c409e
1 file changed
packages/server/src/utils/databases/postgres.ts
@@ -74,8 +74,7 @@ export const buildPostgres = async (postgres: PostgresNested) => {
74
Image: dockerImage,
75
Env: envVariables,
76
Mounts: [...volumesMount, ...bindsMount, ...filesMount],
77
- ...(StopGracePeriod !== null &&
78
- StopGracePeriod !== undefined && { StopGracePeriod }),
+ StopGracePeriod: StopGracePeriod ?? 30_000_000_000,
79
...(command && {
80
Command: command.split(" "),
81
}),
0 commit comments