Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
brayniac committed Oct 8, 2024
1 parent 19a27c6 commit 060eddc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,12 @@ fn main() {
}

// TODO: figure out what a reasonable size is here
let (client_sender, client_receiver) = bounded(config.client().map(|c| c.threads()).unwrap_or(1));
let (pubsub_sender, pubsub_receiver) = bounded(config.pubsub().map(|c| c.publisher_threads()).unwrap_or(1));
let (store_sender, store_receiver) = bounded(config.storage().map(|c| c.threads()).unwrap_or(1));
let (client_sender, client_receiver) =
bounded(config.client().map(|c| c.threads()).unwrap_or(1));
let (pubsub_sender, pubsub_receiver) =
bounded(config.pubsub().map(|c| c.publisher_threads()).unwrap_or(1));
let (store_sender, store_receiver) =
bounded(config.storage().map(|c| c.threads()).unwrap_or(1));

output!("Protocol: {:?}", config.general().protocol());

Expand Down

0 comments on commit 060eddc

Please sign in to comment.