diff options
author | mat <github@matdoes.dev> | 2021-05-10 19:39:03 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-05-10 19:39:03 -0500 |
commit | 026e5cc2615e51efcecf61692e5e12ba86d38bcb (patch) | |
tree | c3a4ea884becee1e6ae103b33bb0fe059bb4d9f1 /build/database.js | |
parent | 9712742d008a780cd058c21cea06d8006abc2144 (diff) | |
download | skyblock-api-026e5cc2615e51efcecf61692e5e12ba86d38bcb.tar.gz skyblock-api-026e5cc2615e51efcecf61692e5e12ba86d38bcb.tar.bz2 skyblock-api-026e5cc2615e51efcecf61692e5e12ba86d38bcb.zip |
decrease memory use
Diffstat (limited to 'build/database.js')
-rw-r--r-- | build/database.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/database.js b/build/database.js index 9557668..aa8765c 100644 --- a/build/database.js +++ b/build/database.js @@ -505,6 +505,8 @@ async function fetchAllLeaderboards(fast) { if (!fast) // wait 2 seconds so it doesnt use as much ram await util_1.sleep(2 * 1000); + else + await util_1.sleep(500); await fetchMemberLeaderboard(leaderboard); } if (_1.debug) |