Commit 988ac03b89746d1c8ab71bbeac3a65ed53771b43

Authored by Dmitriy Zaporozhets
2 parents 11e1c013 8e2752f4

Merge branch 'careful_sidekiq_kill' into 'master'

Be more selective when killing stray Sidekiqs
Showing 2 changed files with 2 additions and 1 deletions   Show diff stats
@@ -32,6 +32,7 @@ v 7.0.0 @@ -32,6 +32,7 @@ v 7.0.0
32 - File action in satellites uses default 30 seconds timeout instead of old 10 seconds one 32 - File action in satellites uses default 30 seconds timeout instead of old 10 seconds one
33 - Overall performance improvements 33 - Overall performance improvements
34 - Skip init script check on omnibus-gitlab 34 - Skip init script check on omnibus-gitlab
  35 + - Be more selective when killing stray Sidekiqs
35 36
36 v 6.9.2 37 v 6.9.2
37 - Revert the commit that broke the LDAP user filter 38 - Revert the commit that broke the LDAP user filter
bin/background_jobs
@@ -18,7 +18,7 @@ function stop @@ -18,7 +18,7 @@ function stop
18 18
19 function killall 19 function killall
20 { 20 {
21 - pkill -u $gitlab_user -f sidekiq 21 + pkill -u $gitlab_user -f 'sidekiq [0-9]'
22 } 22 }
23 23
24 function restart 24 function restart