class Airbrake::ThreadPool
def <<(message)
-
(Boolean)- true if the message was successfully sent to the pool,
Parameters:
-
message(Object) -- The message that gets passed to the block
def <<(message) if backlog >= @queue_size logger.info do "#{LOG_LABEL} ThreadPool has reached its capacity of " \ "#{@queue_size} and the following message will not be " \ "processed: #{message.inspect}" end return false end @queue << message true end