eventq_base 1.17.2 → 1.18.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 +13 -9
- 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: b854720c22bd4c004dd43b0aeefe14db464187fa
|
4
|
+
data.tar.gz: be1f74df9d8c6ec5653a033edc58a0648ee197de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c819d0ca22274f77dc2c47929e148fd17d2d8a266dc9f8719e0205181755c3ebae34f61a046f2d0f8a5a89066bebc8acf98d6f8aadabe5a076a2c992fa084a1
|
7
|
+
data.tar.gz: d50c22ece09fd34f4cb32c698cd45151da41af49aec9e7ec530f5aebd93a4cd235e6e09deb8dafb5c5fad8249fd99f927ce81731a150f7ef7960d6d323490996
|
data/lib/eventq_base/queue.rb
CHANGED
@@ -1,23 +1,27 @@
|
|
1
1
|
module EventQ
|
2
2
|
class Queue
|
3
|
-
attr_accessor :name
|
4
3
|
attr_accessor :allow_retry
|
5
|
-
attr_accessor :retry_delay
|
6
|
-
attr_accessor :max_retry_attempts
|
7
4
|
attr_accessor :allow_retry_back_off
|
5
|
+
attr_accessor :dlq
|
6
|
+
attr_accessor :max_retry_attempts
|
8
7
|
attr_accessor :max_retry_delay
|
8
|
+
attr_accessor :name
|
9
|
+
attr_accessor :max_receive_count
|
9
10
|
attr_accessor :require_signature
|
11
|
+
attr_accessor :retry_delay
|
10
12
|
|
11
13
|
def initialize
|
12
14
|
@allow_retry = false
|
13
|
-
#
|
14
|
-
@retry_delay = 30000
|
15
|
-
#default max retry attempts is 5
|
16
|
-
@max_retry_attempts = 5
|
17
|
-
#default retry back off settings
|
15
|
+
# Default retry back off settings
|
18
16
|
@allow_retry_back_off = false
|
19
|
-
#
|
17
|
+
# Default max receive count is 30
|
18
|
+
@max_receive_count = 30
|
19
|
+
# Default max retry attempts is 5
|
20
|
+
@max_retry_attempts = 5
|
21
|
+
# Default require signature to false
|
20
22
|
@require_signature = false
|
23
|
+
# Default retry delay is 30 seconds
|
24
|
+
@retry_delay = 30000
|
21
25
|
end
|
22
26
|
end
|
23
27
|
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.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaughanbrittonsage
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|