Skip to content

Commit

Permalink
feat: increase log capturer buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Dec 23, 2024
1 parent 80d7f1b commit ff835fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/common/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ static INIT: Once = Once::new();
#[doc(hidden)]
pub fn captured_logs_buffer() -> &'static Mutex<CircularBuffer> {
static CAPTURED_LOGS_GLOBAL_BUFFER: OnceLock<Mutex<CircularBuffer>> = OnceLock::new();
CAPTURED_LOGS_GLOBAL_BUFFER.get_or_init(|| Mutex::new(CircularBuffer::new(1000, 200)))
CAPTURED_LOGS_GLOBAL_BUFFER.get_or_init(|| Mutex::new(CircularBuffer::new(10000, 200)))
}

pub fn setup() {
Expand Down

0 comments on commit ff835fe

Please sign in to comment.