This switches the default HTTP request queue to use a FlushableDroppingSizedQueue for the HTTP log device instead of a SizedQueue. In the event of extremely high volume logging data will be dropped instead of applying back pressure to your application. This is a better default policy for a vendor gem like Timber. It should be your decision to apply back pressure.
To implement the previous behaviour you can pass the request_queue option when instantiating the HTTP log device:
This switches the default HTTP request queue to use a
FlushableDroppingSizedQueue
for the HTTP log device instead of aSizedQueue
. In the event of extremely high volume logging data will be dropped instead of applying back pressure to your application. This is a better default policy for a vendor gem like Timber. It should be your decision to apply back pressure.To implement the previous behaviour you can pass the
request_queue
option when instantiating theHTTP
log device: