worker_killer 1.2.1.338706 → 1.2.1.338707
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/worker_killer/puma_plugin_ng.rb +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f2570da8b4625f24eae4d840ead68587d566c9254f23e75467f8d7f5015541fa
|
|
4
|
+
data.tar.gz: ab24859f64e2e049ca0d8e5ac43deb001b526262bdbc12502e34b5a8c7e927f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73b0477a7f19645eb5a755e86c7f305452ccfc6fe1f63fc90cfd998c9f5b730441af5ef9a2195c426217586a6ee6261e0bfbb08c36d533d31bf4351b5c8ea689
|
|
7
|
+
data.tar.gz: ddc138461dc857bfb0b2289f12f44d86b8598a1f6343b1328313964161e677e5775b662735864c0461da86f96aaef228aab370bcbf1e2256be20262ab7dd3885
|
|
@@ -50,8 +50,6 @@ module WorkerKiller
|
|
|
50
50
|
:on_worker_boot
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
puts "SEND:#{cb}"
|
|
54
|
-
|
|
55
53
|
dsl.send(cb) do |num|
|
|
56
54
|
@killer.worker_num = num
|
|
57
55
|
@worker_num = num
|
|
@@ -112,7 +110,7 @@ module WorkerKiller
|
|
|
112
110
|
end
|
|
113
111
|
|
|
114
112
|
def tag
|
|
115
|
-
@tag ||= "[#{self.class}] #{@worker_num.nil? ? '[M]' : "[W#{@worker_num}]"}"
|
|
113
|
+
@tag ||= "[#{self.class}] #{@worker_num.nil? ? '[M]' : "[W#{@worker_num}]"} #{@force_restart ? '(Force)' : ''}"
|
|
116
114
|
end
|
|
117
115
|
|
|
118
116
|
def debug(msg)
|