You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If process gets stuck here (e.g. a POST request hangs) for one of the loggers, logging hangs for all loggers. This will also cause queue to grow unbounded.
Unfortunately fixing this requires running process in separate processes.
A possible solution for the unbounded problem is having a loop that gets elements from the queue into a local deque (this could happen in a thread), from which process grabs items. This would help also fanning out to multiple loggers.
I don't want to necessarily complicate things right now, just calling this out because it's likely to happen.
aniketmaurya
changed the title
If process gets stuck here (e.g. a POST request hangs) for one of the loggers, logging hangs for all loggers. This will also cause queue to grow unbounded.
Handle case when Logger.process is stuck
Sep 23, 2024
If
process
gets stuck here (e.g. a POST request hangs) for one of the loggers, logging hangs for all loggers. This will also causequeue
to grow unbounded.Unfortunately fixing this requires running
process
in separate processes.A possible solution for the unbounded problem is having a loop that gets elements from the queue into a local
deque
(this could happen in a thread), from whichprocess
grabs items. This would help also fanning out to multiple loggers.I don't want to necessarily complicate things right now, just calling this out because it's likely to happen.
Originally posted by @lantiga in #284 (comment)
The text was updated successfully, but these errors were encountered: