Skip to content

Commit c5da3d4

Browse files
committed
fix: fixed keepAliveIntervalTime usage
[ci skip]
1 parent c68c955 commit c5da3d4

4 files changed

Lines changed: 14 additions & 15 deletions

File tree

src/status/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { NodeId } from '../ids/types';
2-
import type { Host, Port } from '../network/types';
32

43
type StatusStarting = {
54
status: 'STARTING';

tests/nodes/NodeConnection.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ describe(`${NodeConnection.name}`, () => {
310310
quicClientConfig: {
311311
key: clientTlsConfig.keyPrivatePem,
312312
cert: clientTlsConfig.certChainPem,
313-
keepaliveIntervalTime: 100,
313+
keepAliveIntervalTime: 100,
314314
maxIdleTimeout: 200,
315315
},
316316
crypto,
@@ -340,7 +340,7 @@ describe(`${NodeConnection.name}`, () => {
340340
key: clientTlsConfig.keyPrivatePem,
341341
cert: clientTlsConfig.certChainPem,
342342
maxIdleTimeout: 200,
343-
keepaliveIntervalTime: 100,
343+
keepAliveIntervalTime: 100,
344344
},
345345
crypto,
346346
quicSocket: clientSocket,
@@ -373,7 +373,7 @@ describe(`${NodeConnection.name}`, () => {
373373
key: clientTlsConfig.keyPrivatePem,
374374
cert: clientTlsConfig.certChainPem,
375375
maxIdleTimeout: 200,
376-
keepaliveIntervalTime: 100,
376+
keepAliveIntervalTime: 100,
377377
},
378378
crypto,
379379
quicSocket: clientSocket,

tests/nodes/NodeConnectionManager.general.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ describe(`${NodeConnectionManager.name} general test`, () => {
242242
key: tlsConfig.keyPrivatePem,
243243
cert: tlsConfig.certChainPem,
244244
maxIdleTimeout: 10000,
245-
keepaliveIntervalTime: 1000,
245+
keepAliveIntervalTime: 1000,
246246
},
247247
crypto,
248248
quicSocket: clientSocket,
@@ -298,7 +298,7 @@ describe(`${NodeConnectionManager.name} general test`, () => {
298298
key: tlsConfig.keyPrivatePem,
299299
cert: tlsConfig.certChainPem,
300300
maxIdleTimeout: 10000,
301-
keepaliveIntervalTime: 1000,
301+
keepAliveIntervalTime: 1000,
302302
},
303303
crypto,
304304
quicSocket: clientSocket,
@@ -347,7 +347,7 @@ describe(`${NodeConnectionManager.name} general test`, () => {
347347
key: tlsConfig.keyPrivatePem,
348348
cert: tlsConfig.certChainPem,
349349
maxIdleTimeout: 10000,
350-
keepaliveIntervalTime: 1000,
350+
keepAliveIntervalTime: 1000,
351351
},
352352
crypto,
353353
quicSocket: clientSocket,
@@ -431,7 +431,7 @@ describe(`${NodeConnectionManager.name} general test`, () => {
431431
key: tlsConfig.keyPrivatePem,
432432
cert: tlsConfig.certChainPem,
433433
maxIdleTimeout: 10000,
434-
keepaliveIntervalTime: 1000,
434+
keepAliveIntervalTime: 1000,
435435
},
436436
crypto,
437437
quicSocket: clientSocket,
@@ -515,7 +515,7 @@ describe(`${NodeConnectionManager.name} general test`, () => {
515515
key: tlsConfig.keyPrivatePem,
516516
cert: tlsConfig.certChainPem,
517517
maxIdleTimeout: 10000,
518-
keepaliveIntervalTime: 1000,
518+
keepAliveIntervalTime: 1000,
519519
},
520520
crypto,
521521
quicSocket: clientSocket,
@@ -581,7 +581,7 @@ describe(`${NodeConnectionManager.name} general test`, () => {
581581
key: tlsConfig.keyPrivatePem,
582582
cert: tlsConfig.certChainPem,
583583
maxIdleTimeout: 10000,
584-
keepaliveIntervalTime: 1000,
584+
keepAliveIntervalTime: 1000,
585585
},
586586
crypto,
587587
quicSocket: clientSocket,

tests/nodes/NodeConnectionManager.seednodes.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ describe(`${NodeConnectionManager.name} seednodes test`, () => {
239239
quicClientConfig: {
240240
key: tlsConfig.keyPrivatePem,
241241
cert: tlsConfig.certChainPem,
242-
keepaliveIntervalTime: 1000,
242+
keepAliveIntervalTime: 1000,
243243
},
244244
crypto,
245245
quicSocket: clientSocket,
@@ -288,7 +288,7 @@ describe(`${NodeConnectionManager.name} seednodes test`, () => {
288288
key: tlsConfig.keyPrivatePem,
289289
cert: tlsConfig.certChainPem,
290290
maxIdleTimeout: 1000,
291-
keepaliveIntervalTime: 500,
291+
keepAliveIntervalTime: 500,
292292
},
293293
crypto,
294294
quicSocket: clientSocket,
@@ -339,7 +339,7 @@ describe(`${NodeConnectionManager.name} seednodes test`, () => {
339339
quicClientConfig: {
340340
key: tlsConfig.keyPrivatePem,
341341
cert: tlsConfig.certChainPem,
342-
keepaliveIntervalTime: 1000,
342+
keepAliveIntervalTime: 1000,
343343
},
344344
crypto,
345345
quicSocket: clientSocket,
@@ -387,7 +387,7 @@ describe(`${NodeConnectionManager.name} seednodes test`, () => {
387387
quicClientConfig: {
388388
key: tlsConfig.keyPrivatePem,
389389
cert: tlsConfig.certChainPem,
390-
keepaliveIntervalTime: 1000,
390+
keepAliveIntervalTime: 1000,
391391
},
392392
crypto,
393393
quicSocket: clientSocket,
@@ -430,7 +430,7 @@ describe(`${NodeConnectionManager.name} seednodes test`, () => {
430430
quicClientConfig: {
431431
key: tlsConfig.keyPrivatePem,
432432
cert: tlsConfig.certChainPem,
433-
keepaliveIntervalTime: 1000,
433+
keepAliveIntervalTime: 1000,
434434
},
435435
crypto,
436436
quicSocket: clientSocket,

0 commit comments

Comments
 (0)