Skip to content

Commit

Permalink
0 timeout on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
leifcr committed Mar 19, 2019
1 parent d6f9fab commit 5bf831b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
preStop:
exec:
# SIGTERM triggers a quick exit; gracefully terminate instead
command: ["bundle", "exec", "sidekiqctl", "quiet", "/tmp/sidekiq.pid"]
command: ["bundle", "exec", "sidekiqctl", "quiet", "/tmp/sidekiq.pid", "0"]
{{- end }}
{{- if .Values.application.secretName }}
envFrom:
Expand Down

0 comments on commit 5bf831b

Please sign in to comment.