funktor 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/funktor/job.rb +5 -1
- data/lib/funktor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea0e753064ccb434aa89a656425dbe94ce223e8fcce85e7ad3423bc3d082ba31
|
4
|
+
data.tar.gz: 02ff46a0ca5276400dacce0e239bdacc48142624f5bbd36311267bc04964aa78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98d58ca33de1fe46d1121ce3498522fc1de8316b71fdd978780ab9ffbd2f97085bf47cef9ff59809648b36e9b4abea96cd89b785df1403c64a587ecec70bcb92
|
7
|
+
data.tar.gz: e6db57253fd756583344d4424fac291cb6126f90838b30761febb0142d32959a5cdec3ee82b92c9ecb5dc9ce2a25c94db9152c4a64ed87a8e0b566024e54c650
|
data/Gemfile.lock
CHANGED
data/lib/funktor/job.rb
CHANGED
@@ -35,7 +35,11 @@ module Funktor
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def delay
|
38
|
-
|
38
|
+
# TODO - In Funktor Pro we need to override this method (or do something else) so that
|
39
|
+
# we can schedule jobs farther in the future than 15 minutes. We do this here in case a
|
40
|
+
# retry sequence goes too long.
|
41
|
+
jdelay = job_data["delay"]
|
42
|
+
return jdelay < 900 ? jdelay : 900
|
39
43
|
end
|
40
44
|
|
41
45
|
def delay=(delay)
|
data/lib/funktor/version.rb
CHANGED