ChainSafe / ChainSafe/gossamer

disconnect inactive peers in collation protocol

Open
#4,256 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Issue summary

Based on the `lastActive` property of the `PeerData` we should disconnect inactive peers every 1 second

## Other information and links

https://github.com/paritytech/polkadot-sdk/blob/b6f48bf9872f1f7b0306ed8f4c57f2964c844e33/polkadot/node/network/collator-protocol/src/validator_side/mod.rs#L1963

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.