active_publisher 1.3.0-java → 1.3.2-java
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f616aa911961f4a63174cf1feca351d7d44dfb7c7aff523dabec3b1e41f28bd
|
4
|
+
data.tar.gz: a4ef1cf481cab76b19ddaebf28ad95b7323cd6941cda9b35f0de7196247ef297
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92d75c705ff93e2b0b45e4963e389538b1c47574f7cc9a332f2048d9a41f5478a886cfb5a1dc6f19073f16df1d9c3855e373d651437a0ebb342b4386e59f9f87
|
7
|
+
data.tar.gz: 7bdd4ff50ea01a6a80f8d88a57aa4d38050b37d4bab6ca4e0144e19636b449a4b912d0acd2c8c37b7631d6efe4eb18ce69a69bcf154bf55f534f1b9e5b492ea4
|
@@ -151,7 +151,9 @@ module ActivePublisher
|
|
151
151
|
|
152
152
|
def wait_for_confirms
|
153
153
|
return true unless channel.using_publisher_confirms?
|
154
|
-
|
154
|
+
::ActiveSupport::Notifications.instrument "publishes_confirmed.active_publisher" do
|
155
|
+
channel.wait_for_confirms(::ActivePublisher.configuration.publisher_confirms_timeout)
|
156
|
+
end
|
155
157
|
end
|
156
158
|
end
|
157
159
|
end
|
@@ -77,9 +77,9 @@ module ActivePublisher
|
|
77
77
|
messages = []
|
78
78
|
multi_response = []
|
79
79
|
redis_pool.with do |redis|
|
80
|
-
multi_response = redis.multi do
|
81
|
-
|
82
|
-
|
80
|
+
multi_response = redis.multi do |pipeline|
|
81
|
+
pipeline.lrange(list_key, 0, number - 1)
|
82
|
+
pipeline.ltrim(list_key, number, -1)
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Brian Stien
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: exe
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2022-02-03 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
223
|
- !ruby/object:Gem::Version
|
224
224
|
version: '0'
|
225
225
|
requirements: []
|
226
|
-
rubygems_version: 3.2.
|
226
|
+
rubygems_version: 3.2.15
|
227
227
|
signing_key:
|
228
228
|
specification_version: 4
|
229
229
|
summary: Aims to make publishing work across MRI and jRuby painless and add some nice
|