fanforce-worker 0.15.4 → 0.15.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fanforce/worker/version.rb +1 -1
- data/lib/fanforce/worker/worker.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTFjNzgxYjE3NzAxMjQ3MzIwODZjMjMwMzY0MTM5NDY5ODYzZDIwMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDYxZTQyZWNhZDgxYzVkNjMwMDgyNDY0NDBjNGNjNzU4YjFkZmUyOA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjRjY2Y2ZWFmYjg4Zjk3MGVmMmI4Mjc2NGI2ODQ5NzEwZmY0YjVjODM1ZTA0
|
10
|
+
MmNiZGU0NzlmNDVhOTU2OTJjM2Y2ZDlkNzBjN2IzOTYyNTk4NzU3MjIzNjBi
|
11
|
+
Njg2MjMzNjZiMmZiNDJiNzUyMmNlOWNjNmFkYzk5Y2U2M2JiNDY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Mjg3OGE3ZmEyODQ3ZmNmNzE3MWFmNzI2ZGRjZDc3ZjgwMjJiYTI2OGE0YmEw
|
14
|
+
MGQ2ZGQ2NDU2Njc5MjFjYjdmZGM3YzVkM2UwNmRhZjJjN2ZiOGY4MWI0ODgz
|
15
|
+
YWMxNGM1ODA5NTIyZTQ3MjJkYzhiZGUyY2UwODRhOWRlZmZiZTY=
|
@@ -200,6 +200,7 @@ class Fanforce::Worker
|
|
200
200
|
|
201
201
|
def self.run_job(job, job_data, &code_block)
|
202
202
|
trap('SIGHUP') do raise 'trapped SIGHUP' end
|
203
|
+
trap('SIGTERM') do raise 'trapped SIGTERM' end
|
203
204
|
self.current_job = job
|
204
205
|
self.current_params = job_data[:params]
|
205
206
|
self.current_retries = job_data[:retries]
|