Skip to content

Commit

Permalink
fix: server channel bug
Browse files Browse the repository at this point in the history
  • Loading branch information
skifli authored Oct 3, 2024
1 parent b0ed25a commit 9a04409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bruty_server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ async fn main(
let (results_sender, results_receiver) = flume::unbounded(); // Create a channel for when the server receives results, to send to the result handler.
let (results_awaiting_sender, results_awaiting_receiver) = flume::unbounded(); // Create a channel for when the server is awaiting results.
let (results_received_sender, results_received_receiver) = flume::unbounded(); // Create a channel for when the server receives results.
let (current_id_sender, current_id_receiver) = flume::unbounded(); // Create a channel for when the current project ID changes.
let (current_id_sender, current_id_receiver) = flume::bounded(1); // Create a channel for when the current project ID changes.

let id_sender_clone = id_sender.clone();
let results_awaiting_sender_clone = results_awaiting_sender.clone();
Expand Down

0 comments on commit 9a04409

Please sign in to comment.