aboutsummaryrefslogtreecommitdiff
path: root/build/constants.js
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-02-28 15:58:27 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-02-28 15:58:27 -0600
commit13985abd157d8339dc9db7137dc9b86ee7a0a616 (patch)
treeb4d9a11b76aacb8ee20446e8ea42d470a18c1cfb /build/constants.js
parentd08c072271861b9fe64cf8d84e6b1610005f36b1 (diff)
parent327eb7ce81431c2c8d98062aa2f375b6a8399071 (diff)
downloadskyblock-api-13985abd157d8339dc9db7137dc9b86ee7a0a616.tar.gz
skyblock-api-13985abd157d8339dc9db7137dc9b86ee7a0a616.tar.bz2
skyblock-api-13985abd157d8339dc9db7137dc9b86ee7a0a616.zip
Merge branch 'main' of https://github.com/skyblockstats/skyblock-api into main
Diffstat (limited to 'build/constants.js')
-rw-r--r--build/constants.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/constants.js b/build/constants.js
index ff6155b..9231784 100644
--- a/build/constants.js
+++ b/build/constants.js
@@ -33,9 +33,9 @@ async function fetchGithubApi(method, route, headers, json) {
}, headers),
});
}
-// cache files for a day
+// cache files for an hour
const fileCache = new node_cache_1.default({
- stdTTL: 60 * 60 * 24,
+ stdTTL: 60 * 60,
checkperiod: 60,
useClones: false,
});