diff options
author | mat <27899617+mat-1@users.noreply.github.com> | 2021-02-28 15:58:27 -0600 |
---|---|---|
committer | mat <27899617+mat-1@users.noreply.github.com> | 2021-02-28 15:58:27 -0600 |
commit | 13985abd157d8339dc9db7137dc9b86ee7a0a616 (patch) | |
tree | b4d9a11b76aacb8ee20446e8ea42d470a18c1cfb /build/constants.js | |
parent | d08c072271861b9fe64cf8d84e6b1610005f36b1 (diff) | |
parent | 327eb7ce81431c2c8d98062aa2f375b6a8399071 (diff) | |
download | skyblock-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.js | 4 |
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, }); |