From 1df5c5df6d533e10f84c50fb867375e09ffd5cc9 Mon Sep 17 00:00:00 2001 From: softsimon Date: Thu, 7 Mar 2024 11:09:08 +0700 Subject: [PATCH] Updating to match crontab update --- backend/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index aa71f067c..213319946 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -164,8 +164,8 @@ class Server { }; // Run once on startup. refreshIcons(); - // Matches electrs hard coded refresh interval for asset db. - setInterval(refreshIcons, 15000); + // Matches crontab refresh interval for asset db. + setInterval(refreshIcons, 3600_000); } priceUpdater.$run();