Skip to content

Commit

Permalink
feat: fixed undefined behaviour with discovery domain
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanjassal committed Nov 11, 2024
1 parent 8c1cc9a commit efbd2d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/discovery/Discovery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class Discovery {
Date.now() - this.rediscoverVertexThresholdTime,
);
await this.taskManager.scheduleTask({
handlerId: this.discoverVertexHandlerId,
handlerId: this.checkRediscoveryHandlerId,
path: [this.constructor.name, this.checkRediscoveryHandlerId],
lazy: true,
delay: this.rediscoverCheckIntervalTime,
Expand Down Expand Up @@ -285,7 +285,7 @@ class Discovery {
);
// Start up rediscovery task
await this.taskManager.scheduleTask({
handlerId: this.discoverVertexHandlerId,
handlerId: this.checkRediscoveryHandlerId,
path: [this.constructor.name, this.checkRediscoveryHandlerId],
lazy: true,
delay: this.rediscoverCheckIntervalTime,
Expand Down

0 comments on commit efbd2d0

Please sign in to comment.