From a7c16cd74c4c915c0b8a7a0cf92172d914806f31 Mon Sep 17 00:00:00 2001 From: aldenhu Date: Thu, 26 Oct 2023 02:14:44 +0000 Subject: [PATCH] trivial: change default drop helper buffer size to 32, to be defensive --- crates/aptos-drop-helper/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/aptos-drop-helper/src/lib.rs b/crates/aptos-drop-helper/src/lib.rs index 4a2d0f42244f0..422971463b423 100644 --- a/crates/aptos-drop-helper/src/lib.rs +++ b/crates/aptos-drop-helper/src/lib.rs @@ -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 = Lazy::new(|| DropHelper::new("default", 128)); +pub static DEFAULT_DROP_HELPER: Lazy = Lazy::new(|| DropHelper::new("default", 32)); /// A helper to send things to a thread pool for asynchronous dropping. ///