Skip to content

Commit

Permalink
Unbounded channel
Browse files Browse the repository at this point in the history
  • Loading branch information
szeweq committed Jul 2, 2024
1 parent e673f32 commit a074b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/mc-repack/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ pub fn optimize_with<R: EntryReader + Send + 'static, S: EntrySaver + Send + 'st
errors: &mut ErrorCollector,
blacklist: Arc<TypeBlacklist>
) -> crate::Result_<()> {
let (tx, rx) = crossbeam_channel::bounded(16);
let (tx, rx) = crossbeam_channel::unbounded();
let mut r1 = anyhow::Ok(());
let mut r2 = anyhow::Ok(());
rayon::scope_fifo(|s| {
Expand Down

0 comments on commit a074b2c

Please sign in to comment.