feat(swarm): add stop grace period configuration for Docker Swarm services

- Add stopGracePeriodSwarm field to application schema for configuring container shutdown grace period
- Update swarm settings UI to include nanosecond input for stop grace period
- Regenerate migration as 0110 to resolve sequence conflict with canary branch
- Clean up commented debug code and reorganize imports

The stop grace period allows users to specify how long Docker should wait before forcefully
terminating a container during shutdown, improving graceful shutdown handling for applications.
This commit is contained in:
Lucas Manchine
2025-09-05 13:23:46 -03:00
parent c2eaa78724
commit 85e3a92877
4 changed files with 6509 additions and 1 deletions

View File

@@ -1 +0,0 @@
ALTER TABLE "application" ADD COLUMN "stopGracePeriodSwarm" bigint;

View File

@@ -0,0 +1 @@
ALTER TABLE "application" ADD COLUMN IF NOT EXISTS "stopGracePeriodSwarm" bigint;

File diff suppressed because it is too large Load Diff

View File

@@ -771,6 +771,13 @@
"when": 1757052053574,
"tag": "0109_remarkable_sauron",
"breakpoints": true
},
{
"idx": 110,
"version": "7",
"when": 1757088700712,
"tag": "0110_vengeful_maddog",
"breakpoints": true
}
]
}