From efbd2d0b95f8affb3d07695a3aaa69fd12a58eca Mon Sep 17 00:00:00 2001 From: Aryan Jassal Date: Mon, 11 Nov 2024 12:31:01 +1100 Subject: [PATCH] feat: fixed undefined behaviour with discovery domain --- src/discovery/Discovery.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/discovery/Discovery.ts b/src/discovery/Discovery.ts index 67456a4e4..7c9a8769a 100644 --- a/src/discovery/Discovery.ts +++ b/src/discovery/Discovery.ts @@ -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, @@ -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,