Skip to content

Commit ca57478

Browse files
authored
Update auto-highstate.sls (#605)
allow salt high state commands to run up to 30 minutes instead of 5m. this timeout is what has caused so many of our high state cross to be marked as failure when things like apt mirrors get slow. its _fine_ for this high state to run as long as needed since salt handles its own locking.
1 parent 5459585 commit ca57478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

salt/base/auto-highstate.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ curl:
1616
15m-interval-highstate:
1717
cron.present:
1818
- identifier: 15m-interval-highstate
19-
- name: "{% if sentry_enabled %}/usr/local/bin/sentry-checkin.sh {% endif %}timeout 5m salt-call state.highstate >> /var/log/salt/cron-highstate.log 2>&1"
19+
- name: "{% if sentry_enabled %}/usr/local/bin/sentry-checkin.sh {% endif %}timeout 30m salt-call state.highstate >> /var/log/salt/cron-highstate.log 2>&1"
2020
- minute: '*/15'
2121
{% if sentry_enabled %}
2222
- require:

0 commit comments

Comments
 (0)