sidekiq-pool 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sidekiq/pool/cli.rb +6 -1
- data/lib/sidekiq/pool/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a2728fe9ae5b84fa988903d628cbad0f324c36f
|
4
|
+
data.tar.gz: 4e52dd10fb17ec666e0a6d88adb285fb193df8e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 030ad8a026626669776b71838b70f5a0a0146feb96e84b851bd3104b773df9b795686a831c5e513a0356ca51fd13d9ffe64517f1f6cdc40df6ee01273d05b663
|
7
|
+
data.tar.gz: 3ab4d8c7af989d4cc2f597b9f7574d434fb57b2ff405592af343c3c499cdb145b2fcc449dfcbf09a4202e245baeafefe9d97db1a81a78a07e3766e1aff5f68d6
|
data/lib/sidekiq/pool/cli.rb
CHANGED
@@ -157,7 +157,12 @@ module Sidekiq
|
|
157
157
|
remove_child
|
158
158
|
when 'CHLD'
|
159
159
|
check_pool
|
160
|
-
when 'USR1'
|
160
|
+
when 'USR1'
|
161
|
+
@done = true
|
162
|
+
update_process_name
|
163
|
+
logger.info "Sending #{sig} signal to the pool"
|
164
|
+
signal_to_pool(sig)
|
165
|
+
when 'USR2'
|
161
166
|
logger.info "Sending #{sig} signal to the pool"
|
162
167
|
signal_to_pool(sig)
|
163
168
|
end
|
data/lib/sidekiq/pool/version.rb
CHANGED