eventq_base 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eventq_base/queue.rb +4 -0
- data/lib/eventq_base/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 402ebc4639e0a547fa8b34f5aa078bb2e5e581c1
|
4
|
+
data.tar.gz: f69f1d0026ceb0fe65f4b5144855e97aca3db4cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e93fd962b2dcd201f27a941b1c178bebab2957cd0399006c141ac71727e1c04200f52ef6d4badc2fc8557a732242c09db1c6f863248e1e3265775af165dac98
|
7
|
+
data.tar.gz: 6c9d6f038e4465c37dd2bf448e79084c2d753b2af0d33547350126572a3f75483a3c221f65499e4af4f307547f65c913107415bbfc56f8764efc13e854e3675b
|
data/lib/eventq_base/queue.rb
CHANGED
@@ -4,6 +4,8 @@ module EventQ
|
|
4
4
|
attr_accessor :allow_retry
|
5
5
|
attr_accessor :retry_delay
|
6
6
|
attr_accessor :max_retry_attempts
|
7
|
+
attr_accessor :allow_retry_back_off
|
8
|
+
attr_accessor :max_retry_delay
|
7
9
|
|
8
10
|
def initialize
|
9
11
|
@allow_retry = false
|
@@ -11,6 +13,8 @@ module EventQ
|
|
11
13
|
@retry_delay = 30000
|
12
14
|
#default max retry attempts is 5
|
13
15
|
@max_retry_attempts = 5
|
16
|
+
#default retry back off settings
|
17
|
+
@allow_retry_back_off = false
|
14
18
|
end
|
15
19
|
end
|
16
20
|
end
|
data/lib/eventq_base/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventq_base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaughanbrittonsage
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|