lib/asynchronic.rb in asynchronic-3.0.0 vs lib/asynchronic.rb in asynchronic-3.0.1
- old
+ new
@@ -22,11 +22,11 @@
attr_config :notifier, Notifier::InMemory.new
attr_config :logger, Logger.new($stdout)
attr_config :retry_timeout, 30
attr_config :garbage_collector_timeout, 30
attr_config :redis_data_store_sync_timeout, 0.01
- attr_config :keep_alive_timeout, 0.1
- attr_config :connection_name, "HOST=#{Socket.gethostname},PID=#{::Process.pid}"
+ attr_config :keep_alive_timeout, 1
+ attr_config :connection_name, "HOST=#{Socket.gethostname},PID=#{::Process.pid},UUID=#{SecureRandom.uuid}"
def self.environment
Environment.new queue_engine, data_store, notifier
end
\ No newline at end of file