By default, Raven will monkey patch all loggers and transmit logged messages as breadcrumbs.
Breadcrumbs are stored in a thread-local buffer which should be released when the thread exits. But if you log anything inside the worker thread (e.g. a traceback object) that holds a reference to its thread, the thread's refcount never goes to zero and the thread-locals are not garbage collected.
By default, Raven will monkey patch all loggers and transmit logged messages as breadcrumbs.
Breadcrumbs are stored in a thread-local buffer which should be released when the thread exits. But if you log anything inside the worker thread (e.g. a traceback object) that holds a reference to its thread, the thread's refcount never goes to zero and the thread-locals are not garbage collected.