ruby_event_store-outbox 0.0.7 → 0.0.8
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: 9457e402dabad2f00ec38ce0a6aecb12dcfdd303614b0ed6c8e391214e2eece1
|
4
|
+
data.tar.gz: 8545183b1d4720f5674cfdd5cf385666f2cfcd38ed2cc9fdd4bf8aa79c750835
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc5d885558ac2c2d3b446cc1499a9ceb8aaa541b29c1b85e8019cd832ca2572d883c4fa165abbcedc9470f36f29667becc0b7b937c49fc00b3a3aed2714699db
|
7
|
+
data.tar.gz: 4371dcb52922553adebe91a4fb36472c27bb0a4df0a76ec6782aaf4c48b57e424d55e7f8ba262b5f694d8d5c32e6062bbc504f8ca5e2edfb04767d0278cccc95
|
@@ -60,6 +60,8 @@ module RubyEventStore
|
|
60
60
|
|
61
61
|
def build_consumer(options)
|
62
62
|
logger = Logger.new(STDOUT, level: options.log_level, progname: "RES-Outbox")
|
63
|
+
# ActiveRecord::Base.logger = logger if options.log_level == :debug
|
64
|
+
# ActiveSupport::LogSubscriber.colorize_logging = false
|
63
65
|
consumer_configuration = Consumer::Configuration.new(
|
64
66
|
split_keys: options.split_keys,
|
65
67
|
message_format: options.message_format,
|
@@ -46,6 +46,7 @@ module RubyEventStore
|
|
46
46
|
@metrics = metrics
|
47
47
|
@batch_size = configuration.batch_size
|
48
48
|
ActiveRecord::Base.establish_connection(configuration.database_url) unless ActiveRecord::Base.connected?
|
49
|
+
ActiveRecord::Base.connection.execute("SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;")
|
49
50
|
|
50
51
|
raise "Unknown format" if configuration.message_format != SIDEKIQ5_FORMAT
|
51
52
|
@message_format = SIDEKIQ5_FORMAT
|