mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-05-11 21:09:27 +00:00
make evictPeer proc public for tests
This commit is contained in:
parent
7e59b2c2cc
commit
070949f5fc
@ -537,7 +537,7 @@ proc connectedPeers*(
|
||||
|
||||
return (inPeers, outPeers)
|
||||
|
||||
proc evictPeer(pm: PeerManager, peerId: PeerId) {.async.} =
|
||||
proc evictPeer*(pm: PeerManager, peerId: PeerId) {.async.} =
|
||||
## Policy-based eviction (relay-peer limit, IP colocation, pruning).
|
||||
## Skips the disconnect when the peer has an in-flight store request to
|
||||
## avoid aborting active store requests.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user