Skip to content

Commit c6051da

Browse files
committed
fix: fixed problem with benchmark running forever
1 parent 0676cce commit c6051da

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/QUICConnection.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -353,15 +353,6 @@ class QUICConnection extends EventTarget {
353353
}) {
354354
super();
355355
this.logger = logger ?? new Logger(`${this.constructor.name} ${scid}`);
356-
// Checking constraints
357-
if (
358-
config.keepAliveIntervalTime != null &&
359-
config.keepAliveIntervalTime >= config.maxIdleTimeout
360-
) {
361-
throw new errors.ErrorQUICConnectionInvalidConfig(
362-
'keepAliveIntervalTime must be shorter than maxIdleTimeout',
363-
);
364-
}
365356

366357
const quicheConfig = buildQuicheConfig(config);
367358
let conn: Connection;

0 commit comments

Comments
 (0)