Refactor database and application start scripts

This commit is contained in:
Andras Bacsai
2024-01-12 14:15:15 +01:00
parent 5e7c6906b3
commit 27b18fbedf
8 changed files with 9 additions and 9 deletions

View File

@@ -1027,7 +1027,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
]
]
];
if ($this->application->limits_cpuset !== 0) {
if (!is_null($this->application->limits_cpuset)) {
data_set($docker_compose, 'services.' . $this->container_name . '.cpuset', $this->application->limits_cpuset);
}
if ($this->server->isSwarm()) {