event_store_subscriptions 1.1.0 → 1.1.2
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: 4fccb243f13092931fcd1f5c27856e70b40a8d0efc1977123ce6952472259e32
|
4
|
+
data.tar.gz: 59dc6ef6a476918183445219d2e0baa7a9a9f74b2722647f6fbe9907b7a41854
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d74a26ef335704e025116eac5bfcff32ed5b3f550210005990f19182448b8c47659a86dc1bb96f40a2f36213aa8c2ecadfb845b41643256500e099c8658c419c
|
7
|
+
data.tar.gz: 8bcd92a58f4a46f863ecb4943eeeca3136a625efc726a2ce329d695c29f7b8101de2a54f938cd3302aea37070e50360b086e859d36f63e8d07e0600227c4fdd6
|
@@ -58,6 +58,7 @@ module EventStoreSubscriptions
|
|
58
58
|
make_atomic def restart
|
59
59
|
return self if runner&.alive?
|
60
60
|
|
61
|
+
self.runner = nil
|
61
62
|
statistic.last_restart_at = Time.now.utc
|
62
63
|
_listen
|
63
64
|
end
|
@@ -98,8 +99,10 @@ module EventStoreSubscriptions
|
|
98
99
|
original_result,
|
99
100
|
*process_response_args
|
100
101
|
)
|
101
|
-
|
102
|
-
|
102
|
+
if result
|
103
|
+
original_handler.call(result)
|
104
|
+
statistic.events_processed += 1
|
105
|
+
end
|
103
106
|
position.update(original_result)
|
104
107
|
end
|
105
108
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: event_store_subscriptions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Dzyzenko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: event_store_client
|