Skip to content

Commit

Permalink
Merge pull request #10 from RicochetStudios/kiweezi/update-mc-startup
Browse files Browse the repository at this point in the history
Add larger initial delay to minecraft startup
  • Loading branch information
kiweezi authored Jan 15, 2024
2 parents 7ccb073 + 7fc762e commit e53f4f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
3 changes: 1 addition & 2 deletions schema/minecraft_java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@ probes:
command:
- mc-health
startupProbe:
initialDelaySeconds: 90
failureThreshold: 30
periodSeconds: 10
readinessProbe:
initialDelaySeconds: 30
periodSeconds: 5
failureThreshold: 20
successThreshold: 3
livenessProbe:
initialDelaySeconds: 30
periodSeconds: 5
failureThreshold: 20
17 changes: 8 additions & 9 deletions schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,18 @@ var exampleSchema Schema = Schema{
Probes: Probes{
Command: []string{"mc-health"},
StartupProbe: Probe{
FailureThreshold: 30,
PeriodSeconds: 10,
InitialDelaySeconds: 90,
FailureThreshold: 30,
PeriodSeconds: 10,
},
ReadinessProbe: Probe{
InitialDelaySeconds: 30,
PeriodSeconds: 5,
FailureThreshold: 20,
SuccessThreshold: 3,
PeriodSeconds: 5,
FailureThreshold: 20,
SuccessThreshold: 3,
},
LivenessProbe: Probe{
InitialDelaySeconds: 30,
PeriodSeconds: 5,
FailureThreshold: 20,
PeriodSeconds: 5,
FailureThreshold: 20,
},
},
}
Expand Down

0 comments on commit e53f4f2

Please sign in to comment.