mirror of
https://github.com/status-im/js-waku.git
synced 2025-02-24 10:58:18 +00:00
rename optimistically to preemptively (#1536)
This commit is contained in:
parent
2cf4a58f62
commit
6d81d6ab0c
@ -62,7 +62,7 @@ export class StreamManager {
|
|||||||
private handlePeerUpdateStreamPool = (evt: CustomEvent<PeerUpdate>): void => {
|
private handlePeerUpdateStreamPool = (evt: CustomEvent<PeerUpdate>): void => {
|
||||||
const peer = evt.detail.peer;
|
const peer = evt.detail.peer;
|
||||||
if (peer.protocols.includes(this.multicodec)) {
|
if (peer.protocols.includes(this.multicodec)) {
|
||||||
this.log(`Optimistically opening a stream to ${peer.id.toString()}`);
|
this.log(`Preemptively opening a stream to ${peer.id.toString()}`);
|
||||||
this.prepareNewStream(peer);
|
this.prepareNewStream(peer);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user