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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODcwMzNkNjFkNDc5OTFlMDRkZDk0ZWI1YzhjYzU0MGU1YTg4NjdiZg==
4
+ MWQzZTdlMGE1OGQxNGY4YjdjMzA3NTE5ZWVmN2E2NzVhNDBmOTYyMg==
5
5
  data.tar.gz: !binary |-
6
- ZDYxODhlOTE4OGVjOGE2Mjk3NDVkZGQ2NDYwMmIwMzZjNTY1MTA2Mg==
6
+ OWMxMjg0MDZlYTkzYTNkZGZiZTQxYTQ4M2QzNjQwM2FlMTZhNzYwNA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTI3OWU5N2FlMDZmNDhiODllZDUyZTJkN2VmNjJmM2VjMjNjNzU2ZTI0OGUx
10
- MDNjMzkzMzJjYzA2NDQwMzYxNWM4YTBjMjc0YmIzMTAxNTUxYzhkMzQ1ZmM4
11
- MDRmYTZlZDQwOTUzMzg0MTk1MTJjZTI1NTJjNWMzNDVjNTI3ZmI=
9
+ YjNmM2MyYWU2MjAzNGNlNmJiYTk0ZWNlZWY1MGZiOTQ1NTJiYTlhZWQzNzc3
10
+ ZmVkZTlkMjJhZThlNTg3NDU4OWY3YTNjNmE2ZWU4YmY2YTIwZDU3MWI4NzA3
11
+ YTE5YjM5Mjk4M2E5M2FlOTdmNjY1Nzc4NDJlNGM4NmVjYjNjZjI=
12
12
  data.tar.gz: !binary |-
13
- ZjY4YzdhODVmMTVhYzVlNjdkYTdlMjg0YjkwMGE3YzM2OWMwYTMxYWZiZWJk
14
- ODQ0ZTZjYTNmMDI4Y2FlNWVmOTg2YjBiZTkyMjMxOWFiNTA0NDY0ZGE4ZmJk
15
- MzM5ZmNjOGZiODI5ZTBlN2Y4NmQ5NmI3YTViZmExMWQxZWU2OGE=
13
+ NjFiM2NmYjNhNzJhZWVjYzc3YWJiMTc4YWMxZDgxZWNhOTFmODJmMjYwYTI0
14
+ ZTYxOTYzZjE1NDFhZGI3ZDE0NTA1MTU3ZWU1YjU4OWU4NzQ4ZGE5Mzk3ZDY2
15
+ YWY5M2JlZWI2NWE4MDRhZjFmZDEyNThiZjY0MmMyNzI0MzY1MzE=
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class Worker
3
- VERSION = '0.15.3'
3
+ VERSION = '0.15.4'
4
4
  end
5
5
  end
@@ -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
- Timeout::timeout(worker_time_remaining, Fanforce::Worker::Timeout) do
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-worker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.3
4
+ version: 0.15.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark