Skip to content

Commit f7a5e2c

Browse files
committed
fix: remove healthcheck from workers
1 parent bb379f4 commit f7a5e2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/Models/DeploymentData/Process.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,6 @@ public function asNodeTasks(Deployment $deployment): array
235235
'Labels' => $labels,
236236
]
237237
])->toArray(),
238-
'HealthCheck' => [
239-
'Test' => ['NONE']
240-
],
241238
'Hosts' => [
242239
$internalDomain,
243240
],
@@ -320,6 +317,9 @@ public function asNodeTasks(Deployment $deployment): array
320317
'Hostname' => "dpl-{$deployment->id}.{$worker->name}.{$internalDomain}",
321318
'Env' => collect($this->envVars)->map(fn(EnvVar $var) => "{$var->name}={$var->value}")->toArray(),
322319
'Mounts' => [],
320+
'HealthCheck' => [
321+
'Test' => ['NONE']
322+
],
323323
'Hosts' => [
324324
"{$worker->name}.{$internalDomain}",
325325
],

0 commit comments

Comments
 (0)