Add more tests, fix (and test for) a deadlock re overquota messages, more unbounded channels and less .awaiting

This commit is contained in:
James Wilson
2021-07-15 10:53:02 +01:00
parent 86a3edf053
commit db8ea9a8f3
8 changed files with 285 additions and 73 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ impl Aggregator {
for (_, mut closer) in closers {
// if this fails, it probably means the connection has died already anyway.
let _ = closer.send(());
let _ = closer.send(()).await;
}
// We've told everything to disconnect. Now, reset our state: