module EventStore::HTTP::ReadStream::Defaults
Public Class Methods
batch_size()
click to toggle source
# File lib/event_store/http/read_stream/defaults.rb, line 5 def self.batch_size batch_size = ENV['EVENT_STORE_HTTP_READ_BATCH_SIZE'] return batch_size.to_i if batch_size 20 end
direction()
click to toggle source
# File lib/event_store/http/read_stream/defaults.rb, line 13 def self.direction :forward end
long_poll_duration()
click to toggle source
# File lib/event_store/http/read_stream/defaults.rb, line 17 def self.long_poll_duration long_poll_duration = ENV['EVENT_STORE_HTTP_LONG_POLL_DURATION'] return long_poll_duration.to_i if long_poll_duration 2 end
position()
click to toggle source
# File lib/event_store/http/read_stream/defaults.rb, line 25 def self.position 0 end