You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sysv code has a shutdown timeout equal to 10 if is_running; then echo -n "Stopping $name.." kill $(get_pid) for i in $(seq 1 10) do if ! is_running; then break fi echo -n "." sleep 1 done
If the service hasn't completed within 10 seconds, restart fails (stops fails 'cause of is_running is true and 10 1-seconds long intervals have exhausted; start fails since is_running is true; meanwhile the service completes).
The absence of configurable timeouts make it complicated to use kardianos.service for http.Server with graceful shutdown. 'Cause graceful shutdown timeout actually must be below this hardcoded 10 seconds period.
The text was updated successfully, but these errors were encountered:
sysv code has a shutdown timeout equal to 10
if is_running; then echo -n "Stopping $name.." kill $(get_pid) for i in $(seq 1 10) do if ! is_running; then break fi echo -n "." sleep 1 done
If the service hasn't completed within 10 seconds, restart fails (stops fails 'cause of is_running is true and 10 1-seconds long intervals have exhausted; start fails since is_running is true; meanwhile the service completes).
The absence of configurable timeouts make it complicated to use kardianos.service for http.Server with graceful shutdown. 'Cause graceful shutdown timeout actually must be below this hardcoded 10 seconds period.
The text was updated successfully, but these errors were encountered: