fanforce-worker 0.15.3 → 0.15.4
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 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MWQzZTdlMGE1OGQxNGY4YjdjMzA3NTE5ZWVmN2E2NzVhNDBmOTYyMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWMxMjg0MDZlYTkzYTNkZGZiZTQxYTQ4M2QzNjQwM2FlMTZhNzYwNA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjNmM2MyYWU2MjAzNGNlNmJiYTk0ZWNlZWY1MGZiOTQ1NTJiYTlhZWQzNzc3
|
10
|
+
ZmVkZTlkMjJhZThlNTg3NDU4OWY3YTNjNmE2ZWU4YmY2YTIwZDU3MWI4NzA3
|
11
|
+
YTE5YjM5Mjk4M2E5M2FlOTdmNjY1Nzc4NDJlNGM4NmVjYjNjZjI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjFiM2NmYjNhNzJhZWVjYzc3YWJiMTc4YWMxZDgxZWNhOTFmODJmMjYwYTI0
|
14
|
+
ZTYxOTYzZjE1NDFhZGI3ZDE0NTA1MTU3ZWU1YjU4OWU4NzQ4ZGE5Mzk3ZDY2
|
15
|
+
YWY5M2JlZWI2NWE4MDRhZjFmZDEyNThiZjY0MmMyNzI0MzY1MzE=
|
@@ -168,7 +168,7 @@ class Fanforce::Worker
|
|
168
168
|
job_data = nil
|
169
169
|
while job_has_enough_time_to_run(min_execution_time) and (job = queue.get(timeout: 3600)) do
|
170
170
|
puts "- JOB #{job_num+=1}: #{job.body}"
|
171
|
-
|
171
|
+
timeout(worker_time_remaining, Fanforce::Worker::Timeout) do
|
172
172
|
job_data = nil
|
173
173
|
job_data = Fanforce.decode_json(job.body)
|
174
174
|
run_job(job, job_data, &code_block)
|