mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-06 13:27:43 +00:00
feat(obs): optimize WriteMode selection logic in init_telemetry (#546)
- Refactor WriteMode selection to ensure all variables moved into thread closures are owned types, preventing lifetime issues. - Simplify and clarify WriteMode assignment for production and non-production environments. - Improve code readability and maintainability for logger initialization.
This commit is contained in:
Generated
+1
@@ -2942,6 +2942,7 @@ dependencies = [
|
||||
"chrono",
|
||||
"crossbeam-channel",
|
||||
"crossbeam-queue",
|
||||
"flate2",
|
||||
"log",
|
||||
"notify-debouncer-mini",
|
||||
"nu-ansi-term",
|
||||
|
||||
Reference in New Issue
Block a user