Skip to content

Commit

Permalink
Merge pull request #840 from MatrixAI/feature-undefined-gestalt-id
Browse files Browse the repository at this point in the history
Fix undefined behaviour for `GestaltId` when starting agent
  • Loading branch information
aryanjassal authored Nov 11, 2024
2 parents 8c1cc9a + efbd2d0 commit fd46374
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 fd46374

Please sign in to comment.