From ca3b0a0f19f8f637a00607c0f17ba1f8c4073c12 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Sun, 22 Aug 2021 00:39:29 +0800 Subject: [PATCH] fix setInterval --- server/check-version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/check-version.js b/server/check-version.js index 2de68b16..dff42955 100644 --- a/server/check-version.js +++ b/server/check-version.js @@ -28,7 +28,7 @@ exports.startInterval = () => { }; check(); - interval = setTimeout(check, 3600 * 48); + interval = setInterval(check, 3600 * 48); }; exports.enableCheckUpdate = async (value) => {