aboutsummaryrefslogtreecommitdiff
path: root/build/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/index.js')
-rw-r--r--build/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/index.js b/build/index.js
index 8521a1c..050e22a 100644
--- a/build/index.js
+++ b/build/index.js
@@ -4,6 +4,7 @@ import rateLimit from 'express-rate-limit';
import * as constants from './constants.js';
import * as discord from './discord.js';
import express from 'express';
+import { basicPlayerCache, basicProfilesCache, playerCache, profileCache, profileNameCache, profilesCache, usernameCache } from './hypixelCached.js';
const app = express();
export const debug = false;
const mainSiteUrl = 'https://skyblock.matdoes.dev';
@@ -33,6 +34,13 @@ app.get('/', async (req, res) => {
finishedCachingRawLeaderboards,
leaderboardUpdateMemberQueueSize: leaderboardUpdateMemberQueue.size,
leaderboardUpdateProfileQueueSize: leaderboardUpdateProfileQueue.size,
+ usernameCacheSize: usernameCache.keys().length,
+ basicProfilesCacheSize: basicProfilesCache.keys().length,
+ playerCacheSize: playerCache.keys().length,
+ basicPlayerCacheSize: basicPlayerCache.keys().length,
+ profileCacheSize: profileCache.keys().length,
+ profilesCacheSize: profilesCache.keys().length,
+ profileNameCacheSize: profileNameCache.keys().length,
// key: getKeyUsage()
});
});