File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ use uuid::Uuid;
1616
1717use tokio:: sync:: broadcast:: { error:: TryRecvError , Receiver } ;
1818
19- const LOGS_BUFFER_SIZE : usize = 100 ;
19+ const LOGS_BUFFER_SIZE : usize = 1000 ;
2020const MAX_LOG_SIZE : u64 = 100000000 ; // 100 MB
21- const DEFAULT_LOGGING_INTERVAL : Duration = Duration :: from_secs ( 60 ) ;
22- const DEFAULT_POLLING_INTERVAL : Duration = Duration :: from_secs ( 5 ) ;
21+ const DEFAULT_LOGGING_INTERVAL : Duration = Duration :: from_secs ( 20 ) ;
22+ const DEFAULT_POLLING_INTERVAL : Duration = Duration :: from_secs ( 3 ) ;
2323
2424#[ derive( Debug , Deserialize ) ]
2525#[ serde( rename_all = "PascalCase" ) ]
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ mod global {
254254
255255 lazy_static ! {
256256 pub static ref EVENT_SOURCE : RwLock <Option <Sender <LoggingEvent >>> = {
257- let ( telemetry_event_source, _) = broadcast:: channel:: <_>( 100 ) ;
257+ let ( telemetry_event_source, _) = broadcast:: channel:: <_>( 5000 ) ;
258258 RwLock :: new( Some ( telemetry_event_source) )
259259 } ;
260260 }
You can’t perform that action at this time.
0 commit comments