mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-07-21 08:35:46 +00:00
bump the msg timeout a little higher
This commit is contained in:
@@ -273,7 +273,7 @@ impl FeedReceiver {
|
|||||||
|
|
||||||
// Then, loop a little to make sure we catch any additional messages that are sent soon after:
|
// Then, loop a little to make sure we catch any additional messages that are sent soon after:
|
||||||
loop {
|
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
|
.await
|
||||||
{
|
{
|
||||||
// Timeout elapsed; return the messages we have so far
|
// Timeout elapsed; return the messages we have so far
|
||||||
|
|||||||
Reference in New Issue
Block a user