Sha256: 53cb09f41f2a2f4b52dd68276f14659a496a07f1920be914c2154844f9de8174

Contents?: true

Size: 563 Bytes

Versions: 3

Compression:

Stored size: 563 Bytes

Contents

# Constants: global
MSG_SEND                = "SEND"
MSG_RECV                = "RECV"
MSG_RLAY                = "RLAY"

# Constants: AMQP protocol
AMQP_HEARTBEAT_INTERVAL = 30
AMQP_RECOVERY_INTERVAL  = 5
AMQP_PREFETCH           = 5
AMQP_MANUAL_ACK         = false

# Constants: shouter
SHOUTER_SENTAT_DECIMALS = 6

# Constants: logger
LOGGER_FORMAT = {
  context: {
    caller: "%-17s",
    rule:   "%-20s",
    },
  array:    "     - %s",
  hash:     "     = %-20s %s",
  }


# Constants: logger app-specific prefix
#LOG_PREFIX_FORMAT       = "(%-12s) (%-12s)"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pushyd-0.24.0 lib/pushyd/constants.rb
pushyd-0.23.0 lib/pushyd/constants.rb
pushyd-0.22.0 lib/pushyd/constants.rb