File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 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:
348348sure the communication thread terminates and it's joined correctly. Otherwise the program won't exit, waiting for
349349the thread, unless forcibly killed.
350350
351- #### Circular queue mode
351+ Circular queue mode
352+ +++++++++++++++++++
352353
353354In 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
355356possible to enable the `circular queue ` mode, by passing `True ` in the `queue_circular ` parameter of
356357``asyncsender.FluentSender `` or ``asynchandler.FluentHandler ``. By doing so the thread doing the logging won't block
357358even 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