diff options
author | Nick Thomas <nick@gitlab.com> | 2019-03-01 13:35:28 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-03-01 13:38:38 +0300 |
commit | adddbf437dc9702e06cc6ec2fd8a8b1c38cccdeb (patch) | |
tree | 70fc384a9c9787a8a9aa810af644d73d4b54a5a9 /lib/gitlab/sidekiq_middleware | |
parent | b98fd8a5a086e08c4d940c163fea70238b6cffb6 (diff) |
SIGSTP should be SIGTSTP
Diffstat (limited to 'lib/gitlab/sidekiq_middleware')
-rw-r--r-- | lib/gitlab/sidekiq_middleware/memory_killer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/sidekiq_middleware/memory_killer.rb b/lib/gitlab/sidekiq_middleware/memory_killer.rb index ad4112ba555..47333d257eb 100644 --- a/lib/gitlab/sidekiq_middleware/memory_killer.rb +++ b/lib/gitlab/sidekiq_middleware/memory_killer.rb @@ -31,7 +31,7 @@ module Gitlab # Wait `GRACE_TIME` to give the memory intensive job time to finish. # Then, tell Sidekiq to stop fetching new jobs. - wait_and_signal(GRACE_TIME, 'SIGSTP', 'stop fetching new jobs') + wait_and_signal(GRACE_TIME, 'SIGTSTP', 'stop fetching new jobs') # Wait `SHUTDOWN_WAIT` to give already fetched jobs time to finish. # Then, tell Sidekiq to gracefully shut down by giving jobs a few more |