Class: Bugsnag::Queue
- Inherits:
-
Queue
- Object
- Queue
- Bugsnag::Queue
- Defined in:
- lib/bugsnag/queue.rb
Constant Summary collapse
- MAX_OUTSTANDING_REQUESTS =
100
- STOP =
Object.new
Instance Method Summary collapse
Instance Method Details
#push ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/bugsnag/queue.rb', line 8 def push(*) if length > MAX_OUTSTANDING_REQUESTS Bugsnag.warn("Dropping notification, #{length} outstanding requests") return end @thread ||= create_processor super end |