Skip to content

Commit

Permalink
trivial: change default drop helper buffer size to 32, to be defensive
Browse files Browse the repository at this point in the history
  • Loading branch information
msmouse committed Oct 27, 2023
1 parent 7768c2f commit a7c16cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/aptos-drop-helper/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use aptos_metrics_core::TimerHelper;
use once_cell::sync::Lazy;
use std::sync::mpsc::{channel, Receiver, Sender};

pub static DEFAULT_DROP_HELPER: Lazy<DropHelper> = Lazy::new(|| DropHelper::new("default", 128));
pub static DEFAULT_DROP_HELPER: Lazy<DropHelper> = Lazy::new(|| DropHelper::new("default", 32));

/// A helper to send things to a thread pool for asynchronous dropping.
///
Expand Down

0 comments on commit a7c16cd

Please sign in to comment.