evt-consumer-event_store 0.1.0.1 → 0.1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/consumer/event_store/event_store.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e90762ac55e5ce8035cb1c10f683fdf7203fbe45
|
4
|
+
data.tar.gz: 5741856b20f5a0077ec98063524fcc82e65a3793
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4853990b3d1b1c0792f37c3a4b54a229a6187a528e83774aee0d738ef2930ecde35f5ae22f2285ab5e5a23997cedae510040e4b73d1ef725bd170f147d4e5130
|
7
|
+
data.tar.gz: adf4f3fdf5ccb2a6546a2ccf6f040eab2c95b90710b00a996579aadb02017dad880a855576e98248f3aae658546ffd426a1cb7805d6544ae531d4bffdf1c6219
|
@@ -15,11 +15,15 @@ module Consumer
|
|
15
15
|
|
16
16
|
long_poll_duration = Rational(cycle_timeout, 1000).ceil
|
17
17
|
|
18
|
+
unless session.nil?
|
19
|
+
get_session = ::EventStore::HTTP::Session.copy session
|
20
|
+
end
|
21
|
+
|
18
22
|
EventSource::EventStore::HTTP::Get.configure(
|
19
23
|
self,
|
20
24
|
batch_size: batch_size,
|
21
25
|
long_poll_duration: long_poll_duration,
|
22
|
-
session:
|
26
|
+
session: get_session
|
23
27
|
)
|
24
28
|
|
25
29
|
PositionStore.configure(
|