mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
Tweak Heartbeat configuration so LibP2P can be expected to deliver messages within latency window
This commit is contained in:
@@ -189,7 +189,8 @@ impl<N: Network + 'static> TendermintMachine<N> {
|
||||
// Push it on to the queue. This is done so we only handle one message at a time, and so we
|
||||
// can handle our own message before broadcasting it. That way, we fail before before
|
||||
// becoming malicious
|
||||
self.queue.push_back(msg);
|
||||
// push_front to prioritize our own messages
|
||||
self.queue.push_front(msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user