barbeque 2.7.3 → 2.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/barbeque/message_handler/job_execution.rb +3 -0
- data/lib/barbeque/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20e7f4ae1e498ef9127814cb29f52fa7d061614dcda6e3de425f894e688bdb57
|
4
|
+
data.tar.gz: a08b5fa3b694a48eb4ee1201596f6bdf9bbad56ddce40158ba0adf804961a497
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1a5bbfc9b961858bf7e0c17f53575e1f1d9f791a87e6475873a9687e8c48345ac964d8095749187fbb4fb67b630462ae794b215d5b82b8200ac584ef32282b5
|
7
|
+
data.tar.gz: b0f3cdd5a0f64ad761804653c45be1eaa6002dd37be038060641962675cde342ab59d4ef17a421dbe1d14c2bfb44d7837a3311dea3d62f8f8dbd0518738733ff
|
@@ -52,6 +52,9 @@ module Barbeque
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
rescue ActiveRecord::RecordNotUnique => e
|
55
|
+
# There's a case where Barbeque receives message which was already received or deleted.
|
56
|
+
# https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/standard-queues.html
|
57
|
+
@message_queue.delete_message(@message)
|
55
58
|
raise DuplicatedExecution.new(e.message)
|
56
59
|
end
|
57
60
|
end
|
data/lib/barbeque/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barbeque
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: adminlte2-rails
|