Skip to content

Commit fd46374

Browse files
authored
Merge pull request #840 from MatrixAI/feature-undefined-gestalt-id
Fix undefined behaviour for `GestaltId` when starting agent
2 parents 8c1cc9a + efbd2d0 commit fd46374

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)