fanforce-worker 0.14.0 → 0.14.1
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 +8 -8
- data/lib/fanforce/worker/version.rb +1 -1
- data/lib/fanforce/worker/worker.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTNkMWU2OGZlYjAwOWMxMTE3MWJhMDYyNjMwNzM0OWZhZTc5ZTAyOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OThiNmEwZDNjYjVhOGYwNTcxNWFhNTdmNTg0NDliOTI0ZmQwZDExMA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzVlZGMyNDNhYWMwYTcyYjNhNGUwNDU4Mzk0OGFmNDk5ZjA0MmQzMGNlMGU3
|
10
|
+
ZmVmYmQ5ZjQ2MmIwYTE5NWQ0MzE2Y2YxYzU1OWZmOTJhZDZmN2VjY2E0OTc5
|
11
|
+
OWU2ZDU5MGM2ZjZlNjIzNTUwMTJmYTFkYjY4ODFkYjRmYTk1Njg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTU4NGU3MzQzYTU2ZjAwYzczZDM3NGRiZThmYTIzNWE5YmQxMzY2NzU2ZWQz
|
14
|
+
NmI0MzBjNDZlMzAyYmQxMTQwMmVjYjI4Y2U3MmY5NDY3OTViYTRjNDZjY2Ri
|
15
|
+
OGFjYzVkZjZmMzFjZGJjMjdlYmI0Y2UwNmM3Y2IwYjhkODg0MDQ=
|
@@ -145,6 +145,8 @@ class Fanforce::Worker
|
|
145
145
|
end
|
146
146
|
|
147
147
|
def self.run(worker_data, min_execution_time=300, &code_block)
|
148
|
+
raise "min_execution_time was set to #{min_execution_time}, which is #{min_execution_time - MAX_EXECUTION_TIME} seconds too long" if min_execution_time > MAX_EXECUTION_TIME
|
149
|
+
|
148
150
|
puts 'LOADING ENV...'
|
149
151
|
load_env
|
150
152
|
require 'iron_mq'
|