Sha256: 5da07a442c9be3887048d85487fbde98dd96157fd9f75860a22d2ce4257f0dfc

Contents?: true

Size: 698 Bytes

Versions: 1

Compression:

Stored size: 698 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           = 3
AMQP_MANUAL_ACK         = false

# Constants: shouter
SHOUTER_SENTAT_DECIMALS = 6

# Constants: logger
LOG_HEADER_TIME         = "%Y-%m-%d %H:%M:%S"
LOG_HEADER_FORMAT       = "%s \t%d\t%-8s %-15s "
LOG_MESSAGE_TRIM        = 250
LOG_MESSAGE_TEXT        = "%s%s"
LOG_MESSAGE_ARRAY       = "%s     %s"
LOG_MESSAGE_HASH        = "%s     %-20s %s\n"

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pushyd-0.20.0 lib/pushyd/constants.rb