File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -348,10 +348,11 @@ or for the python logging interface:
348
348
sure the communication thread terminates and it's joined correctly. Otherwise the program won't exit, waiting for
349
349
the thread, unless forcibly killed.
350
350
351
- #### Circular queue mode
351
+ Circular queue mode
352
+ +++++++++++++++++++
352
353
353
354
In some applications it can be especially important to guarantee that the logging process won't block under *any *
354
- circumstance, even when it's logging faster than the sending thread could handle (_backpressure_ ). In this case it's
355
+ circumstance, even when it's logging faster than the sending thread could handle (* backpressure * ). In this case it's
355
356
possible to enable the `circular queue ` mode, by passing `True ` in the `queue_circular ` parameter of
356
357
``asyncsender.FluentSender `` or ``asynchandler.FluentHandler ``. By doing so the thread doing the logging won't block
357
358
even when the queue is full, the new event will be added to the queue by discarding the oldest one.
You can’t perform that action at this time.
0 commit comments