Skip to content
Browse files

RETRY_AFTER is used in the LogDevice, not in the Logger Class

  • Loading branch information...
1 parent 8fd76d0 commit 4c1d10fb45d7cfbee5660d6b32cc495b276a819f @paukul committed
Showing with 2 additions and 1 deletion.
  1. +2 −0 lib/amqp_logging/log_device.rb
  2. +0 −1 lib/amqp_logging/logger.rb
View
2 lib/amqp_logging/log_device.rb
@@ -1,4 +1,6 @@
class AMQPLogging::LogDevice
+ RETRY_AFTER = 10.seconds
+
attr_reader :exchange, :configuration
attr_accessor :logger
View
1 lib/amqp_logging/logger.rb
@@ -7,7 +7,6 @@ class AMQPLogging::Logger < ::Logger
:queue => "logging_queue",
:routing_key => "logs"
}
- RETRY_AFTER = 10.seconds
attr_accessor :extra_attributes
attr_accessor :errback

0 comments on commit 4c1d10f

Please sign in to comment.
Something went wrong with that request. Please try again.