We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4da569 commit 8874660Copy full SHA for 8874660
packages/transport-circuit-relay-v2/src/transport/reservation-store.ts
@@ -1,4 +1,4 @@
1
-import { TypedEventEmitter, setMaxListeners } from '@libp2p/interface'
+import { KEEP_ALIVE, TypedEventEmitter, setMaxListeners } from '@libp2p/interface'
2
import { PeerMap } from '@libp2p/peer-collections'
3
import { createBloomFilter } from '@libp2p/utils/filters'
4
import { PeerQueue } from '@libp2p/utils/peer-queue'
@@ -249,6 +249,10 @@ export class ReservationStore extends TypedEventEmitter<ReservationStoreEvents>
249
[RELAY_TAG]: {
250
value: 1,
251
ttl: expiration
252
+ },
253
+ [KEEP_ALIVE]: {
254
+ value: 1,
255
+ ttl: expiration
256
}
257
258
})
0 commit comments