Sha256: 8da1422c24b3fbb58405989e29db9776d0ad5d47994019500baad5fcff2def41

Contents?: true

Size: 519 Bytes

Versions: 4

Compression:

Stored size: 519 Bytes

Contents

require "serverengine"
require "sneakers"

p ENV.fetch("AMQP") { "amqp://guest:guest@localhost:5672" }

Sneakers.configure(
  amqp:               ENV.fetch("AMQP") { "amqp://guest:guest@localhost:5672" },
  exchange_type:      :direct,
  log:                Sapience[Sneakers], # Log file
  exchange:           "sapience", # AMQP exchange
  durable:            false, # Is queue durable?
  ack:                true, # Must we acknowledge?
  metrics:            Sapience.metrics,
)
Sapience.logger.level = Logger::DEBUG

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sapience-1.0.3 test_apps/rails/config/initializers/sneakers.rb
sapience-1.0.2 test_apps/rails/config/initializers/sneakers.rb
sapience-1.0.1 test_apps/rails/config/initializers/sneakers.rb
sapience-1.0.0 test_apps/rails/config/initializers/sneakers.rb