Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Lok <[email protected]>
  • Loading branch information
andylokandy committed Jul 23, 2023
1 parent 71826b2 commit e20213c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minitrace/src/collector/global_collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ use crate::util::spsc::{self};
use crate::util::CollectToken;

const COLLECT_LOOP_INTERVAL: Duration = Duration::from_millis(50);
const MAX_UNREPORTED_RECORDS: usize = 10000;
const MAX_UNREPORTED_RECORDS: usize = 100_000;

static NEXT_COLLECT_ID: AtomicUsize = AtomicUsize::new(0);
static GLOBAL_COLLECTOR: Lazy<Mutex<GlobalCollector>> =
Expand Down

0 comments on commit e20213c

Please sign in to comment.