Skip to content

Commit efbd2d0

Browse files
committed
feat: fixed undefined behaviour with discovery domain
1 parent 8c1cc9a commit efbd2d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/discovery/Discovery.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class Discovery {
211211
Date.now() - this.rediscoverVertexThresholdTime,
212212
);
213213
await this.taskManager.scheduleTask({
214-
handlerId: this.discoverVertexHandlerId,
214+
handlerId: this.checkRediscoveryHandlerId,
215215
path: [this.constructor.name, this.checkRediscoveryHandlerId],
216216
lazy: true,
217217
delay: this.rediscoverCheckIntervalTime,
@@ -285,7 +285,7 @@ class Discovery {
285285
);
286286
// Start up rediscovery task
287287
await this.taskManager.scheduleTask({
288-
handlerId: this.discoverVertexHandlerId,
288+
handlerId: this.checkRediscoveryHandlerId,
289289
path: [this.constructor.name, this.checkRediscoveryHandlerId],
290290
lazy: true,
291291
delay: this.rediscoverCheckIntervalTime,

0 commit comments

Comments
 (0)