fedimint_server::net::peers

Constant PING_INTERVAL

source
const PING_INTERVAL: Duration;
Expand description

Every how many seconds to send an empty message to our peer if we sent no messages during that time. This helps with reducing the amount of messages that need to be re-sent in case of very one-sided communication.