We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea0a563 commit a4a6cceCopy full SHA for a4a6cce
crates/handlers/src/activity_tracker/worker.rs
@@ -25,8 +25,8 @@ use crate::{
25
/// database automatically.
26
///
27
/// The [`ActivityRecord`] structure plus the key in the [`HashMap`] takes less
28
-/// than 100 bytes, so this should allocate around a megabyte of memory.
29
-static MAX_PENDING_RECORDS: usize = 10_000;
+/// than 100 bytes, so this should allocate around 100kB of memory.
+static MAX_PENDING_RECORDS: usize = 1000;
30
31
const TYPE: Key = Key::from_static_str("type");
32
const SESSION_KIND: Key = Key::from_static_str("session_kind");
0 commit comments