From dd9bd5391d9dbc97229cf695c9fe1fd8e067b7b9 Mon Sep 17 00:00:00 2001 From: A-F-V Date: Wed, 5 Jul 2023 23:36:37 +0100 Subject: [PATCH] Update Darwin.ts --- src/plugins/Darwin/Darwin.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/Darwin/Darwin.ts b/src/plugins/Darwin/Darwin.ts index 1a739af..a0915b2 100644 --- a/src/plugins/Darwin/Darwin.ts +++ b/src/plugins/Darwin/Darwin.ts @@ -178,11 +178,12 @@ export default class DarwinPlugin extends ArcanaPluginBase { this.setting = this.arcana.settings.PluginSettings['Darwin'] ?? DEFAULT_SETTINGS; - // Get lits of all tags periodically + // Get lists of all tags periodically + // TODO: Just add tags heuristicly after initial load this.arcana.registerInterval( window.setInterval(async () => { await this.getAllTagsInVault(); - }, 1000 * 45) + }, 1000 * 60) ); await this.getAllTagsInVault().then(() => {