Fix lost statistics (#125)

* Lost events

* more logging
This commit is contained in:
Lev Kokotov
2022-08-15 23:54:49 -07:00
committed by GitHub
parent a3aefabb47
commit cea35db35c
2 changed files with 37 additions and 17 deletions

View File

@@ -133,7 +133,7 @@ async fn main() {
let client_server_map: ClientServerMap = Arc::new(Mutex::new(HashMap::new()));
// Statistics reporting.
let (tx, rx) = mpsc::channel(100);
let (tx, rx) = mpsc::channel(100_000);
REPORTER.store(Arc::new(Reporter::new(tx.clone())));
// Connection pool that allows to query all shards and replicas.