fix: extend-database-schemas-with-stopgraceperiodswarm

This commit is contained in:
Lucas Manchine
2025-09-24 10:50:04 -03:00
parent 21de6bf167
commit 5e89ffbf4f
10 changed files with 30 additions and 5 deletions

View File

@@ -44,6 +44,7 @@ export const buildPostgres = async (postgres: PostgresNested) => {
RollbackConfig,
UpdateConfig,
Networks,
StopGracePeriod,
} = generateConfigContainer(postgres);
const resources = calculateResources({
memoryLimit,
@@ -101,6 +102,8 @@ export const buildPostgres = async (postgres: PostgresNested) => {
: [],
},
UpdateConfig,
...(StopGracePeriod !== undefined &&
StopGracePeriod !== null && { StopGracePeriod }),
};
try {
const service = docker.getService(appName);