foreign_office 0.17.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/jobs/presence_channel_publish_job.rb +1 -1
- data/lib/foreign_office/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: 43ddf7fbb081dfbeb61ebf49a2daf0147b607d6e3dc3892c8d5f74ab1526e813
|
4
|
+
data.tar.gz: 07cf2772f4c0a374f3f4d3dbaa16068329817a51eaa980f6a429492925f1ca27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9253f709fc7aa6c797b05e86bc1721b39f07a487d604f1813d1c3cd0bf184daba9d09a9ee0ef63bdd9bf097ecc52f58019920ee14a4d7d78467938054a91ba33
|
7
|
+
data.tar.gz: 7409dc63ea05743878d0e5e177229c6e4a64b40b173c23896d65919c19fcf506475314600b3266edf9992d98248390d88ed5ce2996b62b53dbdb894f7b657164
|
@@ -13,7 +13,7 @@ class PresenceChannelPublishJob < ApplicationJob
|
|
13
13
|
)
|
14
14
|
else
|
15
15
|
serialized_state[:foreign_office_retries] ||= 0
|
16
|
-
if serialized_state[:foreign_office_retries] <
|
16
|
+
if serialized_state[:foreign_office_retries] < 5 # five total tries
|
17
17
|
retry_wait = 2**serialized_state[:foreign_office_retries]
|
18
18
|
serialized_state[:foreign_office_retries] += 1
|
19
19
|
PresenceChannelPublishJob.set(wait: retry_wait).perform_later(obj_id, obj_class_name, serialized_state)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreign_office
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-10-
|
12
|
+
date: 2018-10-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|