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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ae3c041bd3a30cd9b921bd9e84914cf575c7eed
4
- data.tar.gz: 2a34f7f34fab4a6538f960285505b5eb6aebfd6c
3
+ metadata.gz: 8a2728fe9ae5b84fa988903d628cbad0f324c36f
4
+ data.tar.gz: 4e52dd10fb17ec666e0a6d88adb285fb193df8e3
5
5
  SHA512:
6
- metadata.gz: 66fb296be964c70c4757f38b3d20fa172e439e3de6801d0ecbe06b3b885ce558310dd23efbeadbf0080730b9ca408e0221dffa2e9c1e6be821abf6602d50c374
7
- data.tar.gz: 6a7e152477cd51f640a6053b5a503d1074ee938a42658ce10497132c7ae45b3d6533f25ca9990054d131bd827d1fde52dc76ccc01bbb6e334d96e6670833c219
6
+ metadata.gz: 030ad8a026626669776b71838b70f5a0a0146feb96e84b851bd3104b773df9b795686a831c5e513a0356ca51fd13d9ffe64517f1f6cdc40df6ee01273d05b663
7
+ data.tar.gz: 3ab4d8c7af989d4cc2f597b9f7574d434fb57b2ff405592af343c3c499cdb145b2fcc449dfcbf09a4202e245baeafefe9d97db1a81a78a07e3766e1aff5f68d6
@@ -157,7 +157,12 @@ module Sidekiq
157
157
  remove_child
158
158
  when 'CHLD'
159
159
  check_pool
160
- when 'USR1', 'USR2'
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
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Pool
3
- VERSION = '0.1.6'
3
+ VERSION = '0.1.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-pool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurynas Butkus