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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ce94f254a2ab7f0a355ffbad4ca9e5faee92f14
4
- data.tar.gz: 99f81c7842ae9091253932dd2810a0b5b2e0f2b3
3
+ metadata.gz: e90762ac55e5ce8035cb1c10f683fdf7203fbe45
4
+ data.tar.gz: 5741856b20f5a0077ec98063524fcc82e65a3793
5
5
  SHA512:
6
- metadata.gz: 5fc134a67fb1755b95eabacef20f68fbd67cd454b21ca19e2660210ab6017aa0ce42e18fce1662d56737e046c255f6175d9459b87582f6ba1df56c90d955c7af
7
- data.tar.gz: 172fcb6991530a3a3ddaf10734eddab6a68225b2c5595606443bcf6a0d5afd5ca07c3ffeacb5f1264279c9e0557e2e08bf8ab6edcc4ba5865227a219371949a7
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: session
26
+ session: get_session
23
27
  )
24
28
 
25
29
  PositionStore.configure(
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-consumer-event_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.1
4
+ version: 0.1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project