aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server.ts b/src/server.ts
index 31f53ab..ce9f049 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -33,10 +33,11 @@ if (!Boolean(process?.env?.IS_VERCEL_DEPLOYMENT)) {
// don't sleep
// remove the setInterval below for personal deployments
+ const intervalTime = 9 * 60 * 1000; // 9mins
setInterval(() => {
console.log("HEALTHCHECK ;)", new Date().toLocaleString());
https.get("https://api-aniwatch.onrender.com/health");
- }, 540000);
+ }, intervalTime);
}
export default app;