Skip to content

Commit

Permalink
Increasing log sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
johannwagner committed Nov 22, 2023
1 parent 3476021 commit 218c0e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vicky/src/lib/logs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct LogDrain {
impl LogDrain {

pub fn new(s3_client: S3Client) -> &'static LogDrain {
let (tx, rx1) = broadcast::channel(100);
let (tx, rx1) = broadcast::channel(1000);
let s3_client_m = Box::leak(Box::new(s3_client.clone()));


Expand Down Expand Up @@ -88,7 +88,7 @@ impl LogDrain {
// Immediate Retry, doing our best efford ehre.
},
Err(TryRecvError::Empty) => {
tokio::time::sleep(time::Duration::from_millis(100)).await;
tokio::time::sleep(time::Duration::from_millis(10)).await;
},
}
}
Expand Down

0 comments on commit 218c0e5

Please sign in to comment.