Skip to content

Add Workhorse shutdown_timeout config setting

Stan Hu requested to merge sh-add-workhorse-shutdown-timeout-config into master

This adds support for the shutdown_timeout config variable introduced in gitlab!62701 (merged) to facilitate a graceful shutdown of Workhorse.

This should not be set higher than 30 seconds, since gitlab-ctl will wait up to 30 seconds (as defined by SVWAIT) and report a timeout error if the process has not shut down.

By default, this value is disabled to preserve the existing behavior of a fast shutdown.

Relates to gitlab#325114 (closed)

Edited by Stan Hu

Merge request reports

Loading