mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-16 22:37:07 +00:00
feat!: remove peer exchange from protocols to wait on by default
This is because peer exchange is still experimental and not enabled on all prod fleets. The issue is that we could be connected to a remote peer with relay/ filter/lightpush yet never resolve because peer exchange is missing. This also shows the limit of this function logic which should be addressed as we dive deeper in peer management.
This commit is contained in:
parent
68423196ec
commit
89571ff497
@ -155,9 +155,6 @@ function getEnabledProtocols(waku: Waku): Protocols[] {
|
||||
if (waku.lightPush) {
|
||||
protocols.push(Protocols.LightPush);
|
||||
}
|
||||
if (waku.peerExchange) {
|
||||
protocols.push(Protocols.PeerExchange);
|
||||
}
|
||||
|
||||
return protocols;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user