bump the msg timeout a little higher

This commit is contained in:
James Wilson
2021-08-12 13:10:17 +01:00
parent 7563909609
commit 7aa4ad49b3
+1 -1
View File
@@ -273,7 +273,7 @@ impl FeedReceiver {
// Then, loop a little to make sure we catch any additional messages that are sent soon after:
loop {
match tokio::time::timeout(Duration::from_millis(500), self.recv_feed_messages_once())
match tokio::time::timeout(Duration::from_millis(1000), self.recv_feed_messages_once())
.await
{
// Timeout elapsed; return the messages we have so far