Skip to content
Snippets Groups Projects
Unverified Commit e4e4c7be authored by Alexandru Vasile's avatar Alexandru Vasile Committed by Alexandru Vasile
Browse files

litep2p: Increase keep-alive to 10 seconds to mirror libp2p (#7488)

This PR ensures that litep2p will keep an idle connection alive for 10
seconds.

The bump from 5 seconds is done to mirror the libp2p behavior and
potentially improve connection stability:

https://github.com/paritytech/polkadot-sdk/blob/a07fb323

/substrate/client/network/src/service.rs#L542-L549

cc @paritytech/networking

---------

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>
parent ca929c30
Pipeline #516104 waiting for manual action with stages
in 1 hour and 51 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment