mirror of https://github.com/waku-org/js-waku.git
fix: increasing maxInboundStreams for lightpush from 32 to 100 (#2021)
* increasing maxInboundStreams for lightpush from 32 to 100 * allowing test to fail
This commit is contained in:
parent
e49e7289ae
commit
2311a595b2
|
@ -48,7 +48,11 @@ export class FilterCore extends BaseProtocol implements IBaseProtocolCore {
|
|||
options
|
||||
);
|
||||
|
||||
libp2p.handle(FilterCodecs.PUSH, this.onRequest.bind(this)).catch((e) => {
|
||||
libp2p
|
||||
.handle(FilterCodecs.PUSH, this.onRequest.bind(this), {
|
||||
maxInboundStreams: 100
|
||||
})
|
||||
.catch((e) => {
|
||||
log.error("Failed to register ", FilterCodecs.PUSH, e);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -262,9 +262,6 @@ describe("Waku Filter V2: Subscribe: Single Service Node", function () {
|
|||
});
|
||||
}
|
||||
|
||||
// Open issue here: https://github.com/waku-org/js-waku/issues/1790
|
||||
// That's why we use the try catch block
|
||||
try {
|
||||
// Verify that each message was received on the corresponding topic.
|
||||
expect(await messageCollector.waitForMessages(topicCount)).to.eq(true);
|
||||
td.contentTopics.forEach((topic, index) => {
|
||||
|
@ -274,11 +271,6 @@ describe("Waku Filter V2: Subscribe: Single Service Node", function () {
|
|||
expectedPubsubTopic: TestPubsubTopic
|
||||
});
|
||||
});
|
||||
} catch (error) {
|
||||
console.warn(
|
||||
"This test still fails because of https://github.com/waku-org/js-waku/issues/1790"
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
it("Error when try to subscribe to more than 101 topics (new limit)", async function () {
|
||||
|
|
Loading…
Reference in New Issue