aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hypixel.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hypixel.ts b/src/hypixel.ts
index c909a17..9d9c078 100644
--- a/src/hypixel.ts
+++ b/src/hypixel.ts
@@ -374,6 +374,8 @@ export async function fetchAuctionUncached(uuid: string) {
// this function is called from database.ts so it starts when we connect to the database
// it should only ever be called once!
export async function periodicallyFetchRecentlyEndedAuctions() {
+ return
+
let previousAuctionIds = new Set()
while (true) {
@@ -482,7 +484,7 @@ export async function fetchAuctionItems() {
cachedAuctionItemListData = Object.fromEntries(itemList)
// updates every 60 minutes
- nextAuctionItemListUpdate = new Date(Date.now() + 10 * 60 * 1000);
+ nextAuctionItemListUpdate = new Date(Date.now() + 10 * 60 * 1000)
return cachedAuctionItemListData
}