Files
firezone/rust/logging
Thomas Eizinger 088273f009 feat(clients): reduce memory usage of background logger thread (#7748)
In order to not block the main thread, `connlib` uses a background
thread to write log files to disk. By default, the channel with this
background thread can hold 128_000 items
(https://docs.rs/tracing-appender/latest/tracing_appender/non_blocking/constant.DEFAULT_BUFFERED_LINES_LIMIT.html).
This results in a significant chunk of memory being allocated that we
don't necessarily need.
2025-01-13 18:26:25 +00:00
..