leveret 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/leveret/version.rb +1 -1
- data/lib/leveret/worker.rb +2 -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: d6c6e6e5951c962ab6fe8f2ca7ffd8b74e9ea7a8
|
4
|
+
data.tar.gz: ffc6b5ee1883ab84e1f33c5cff48d616c11b198a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3194c21d62d0f8bf69663739139aecb5a8bc10f17ffeee16aa2042f10f8d178b3480f1ee2a941354b34c746dff45f4921eca2d1bd2870c9ff882366a7884566
|
7
|
+
data.tar.gz: 374a26ad6fb697daf4c6602789e7b214c629cc5c0307325f567c45a43f1c8ad3612a8ffcb070c9283f91ae1943ba1438a8b92e3dae4e5573c144cb6b0f2a79f9
|
data/lib/leveret/version.rb
CHANGED
data/lib/leveret/worker.rb
CHANGED
@@ -92,7 +92,8 @@ module Leveret
|
|
92
92
|
def fork_and_run(incoming_message)
|
93
93
|
pid = fork do
|
94
94
|
self.process_name = 'leveret-worker-child'
|
95
|
-
log.info "[#{incoming_message.delivery_tag}] Forked to child process #{pid} to run
|
95
|
+
log.info "[#{incoming_message.delivery_tag}] Forked to child process #{pid} to run" \
|
96
|
+
"#{incoming_message.params[:job]}"
|
96
97
|
|
97
98
|
Leveret.reset_connection!
|
98
99
|
Leveret.configuration.after_fork.call
|