performance improvements #342

Merged
lx merged 21 commits from lx-perf-improvements into main 2022-09-12 14:38:44 +00:00
Showing only changes of commit 44cd98d2e4 - Show all commits

View file

@ -59,7 +59,9 @@ async fn main() {
if std::env::var("RUST_LOG").is_err() { if std::env::var("RUST_LOG").is_err() {
std::env::set_var("RUST_LOG", "netapp=info,garage=info") std::env::set_var("RUST_LOG", "netapp=info,garage=info")
} }
tracing_subscriber::fmt::init(); tracing_subscriber::fmt()
.with_writer(std::io::stderr)
.init();
sodiumoxide::init().expect("Unable to init sodiumoxide"); sodiumoxide::init().expect("Unable to init sodiumoxide");
// Abort on panic (same behavior as in Go) // Abort on panic (same behavior as in Go)