Skip to content

Commit 1a94058

Browse files
authored
Fix swarm settings config placeholders
1 parent 24729f3 commit 1a94058

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

apps/dokploy/components/dashboard/application/advanced/cluster/modify-swarm-settings.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,9 @@ export const AddSwarmSettings = ({ id, type }: Props) => {
352352
language="json"
353353
placeholder={`{
354354
"Test" : ["CMD-SHELL", "curl -f http://localhost:3000/health"],
355-
"Interval" : 10000,
356-
"Timeout" : 10000,
357-
"StartPeriod" : 10000,
355+
"Interval" : 10000000000,
356+
"Timeout" : 10000000000,
357+
"StartPeriod" : 10000000000,
358358
"Retries" : 10
359359
}`}
360360
className="h-[12rem] font-mono"
@@ -407,9 +407,9 @@ export const AddSwarmSettings = ({ id, type }: Props) => {
407407
language="json"
408408
placeholder={`{
409409
"Condition" : "on-failure",
410-
"Delay" : 10000,
410+
"Delay" : 10000000000,
411411
"MaxAttempts" : 10,
412-
"Window" : 10000
412+
"Window" : 10000000000
413413
} `}
414414
className="h-[12rem] font-mono"
415415
{...field}
@@ -529,9 +529,9 @@ export const AddSwarmSettings = ({ id, type }: Props) => {
529529
language="json"
530530
placeholder={`{
531531
"Parallelism" : 1,
532-
"Delay" : 10000,
532+
"Delay" : 10000000000,
533533
"FailureAction" : "continue",
534-
"Monitor" : 10000,
534+
"Monitor" : 10000000000,
535535
"MaxFailureRatio" : 10,
536536
"Order" : "start-first"
537537
}`}
@@ -587,9 +587,9 @@ export const AddSwarmSettings = ({ id, type }: Props) => {
587587
language="json"
588588
placeholder={`{
589589
"Parallelism" : 1,
590-
"Delay" : 10000,
590+
"Delay" : 10000000000,
591591
"FailureAction" : "continue",
592-
"Monitor" : 10000,
592+
"Monitor" : 10000000000,
593593
"MaxFailureRatio" : 10,
594594
"Order" : "start-first"
595595
}`}

0 commit comments

Comments
 (0)