aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-05-30 21:45:58 -0500
committermat <github@matdoes.dev>2021-05-30 21:45:58 -0500
commita61e50c845e686c9513afca715d35088472c2941 (patch)
treeaa47e9dcebf3bb3a3d08c1e5dc8f384ef6503e9b
parent3b69df999f91a34580b4a75b1e95211e225c9fbb (diff)
downloadskyblock-api-a61e50c845e686c9513afca715d35088472c2941.tar.gz
skyblock-api-a61e50c845e686c9513afca715d35088472c2941.tar.bz2
skyblock-api-a61e50c845e686c9513afca715d35088472c2941.zip
remove debug thing
-rw-r--r--build/database.js4
-rw-r--r--src/database.ts4
2 files changed, 0 insertions, 8 deletions
diff --git a/build/database.js b/build/database.js
index e08d4ec..69f95af 100644
--- a/build/database.js
+++ b/build/database.js
@@ -606,7 +606,3 @@ if (!globalThis.isTest) {
setInterval(fetchAllLeaderboards, 4 * 60 * 60 * 1000);
});
}
-setInterval(() => {
- console.log(exports.cachedRawLeaderboards.size);
- console.log(Array.from(exports.cachedRawLeaderboards.values())[exports.cachedRawLeaderboards.size - 1]);
-}, 5000);
diff --git a/src/database.ts b/src/database.ts
index 0939e79..6dc8ed4 100644
--- a/src/database.ts
+++ b/src/database.ts
@@ -749,7 +749,3 @@ if (!globalThis.isTest) {
})
}
-setInterval(() => {
- console.log(cachedRawLeaderboards.size)
- console.log(Array.from(cachedRawLeaderboards.values())[cachedRawLeaderboards.size - 1])
-}, 5000) \ No newline at end of file