aboutsummaryrefslogtreecommitdiff
path: root/build/database.js
AgeCommit message (Collapse)Author
2021-06-01add info for leaderboards_countmat
2021-06-01make new "cache" for recentlyqueuedmat
2021-06-01don't queue stuff if it's in recentlyUpdatedmat
2021-06-01lower the interval for leaderboardUpdateMemberQueue even moremat
uhhhhhh hopefully the database doesn't get too sad from this
2021-06-01decrease the queue intervals by a lotmat
2021-06-01add queue sizes to index debug datamat
2021-06-01Revert "Revert "Revert "temporarily disable leaderboard cache"""mat
This reverts commit f111a9a1db78fbfe0737661f3c9104f52d6de945.
2021-06-01Revert "Revert "temporarily disable leaderboard cache""mat
This reverts commit 0203c2bf6d645e2f0c42fc3dc839e1320ee57c84.
2021-06-01Revert "temporarily disable leaderboard cache"mat
This reverts commit ddf7ff4ab6331f70e313de29eafdcc03d67074ad.
2021-06-01temporarily disable leaderboard cachemat
i am literally going insane
2021-05-31add leaderboard infosmat
2021-05-31add memberRawLeaderboardItem and profileRawLeaderboardItemmat
these hold slightly less information and should therefore use slightly less memory, hopefully
2021-05-31removed fetching all the members in all of the leaderboardsmat
2021-05-30re-add the pre-cache for leaderboard usersmat
2021-05-30remove debug thingmat
2021-05-30i think i found out why it's using so much memory.mat
2021-05-30Revert "disable leaderboards again :trollface:"mat
This reverts commit dcccb6fa3bcfb15dcb272e47ddd87184ab84be61.
2021-05-30disable leaderboards again :trollface:mat
2021-05-29only cache raw leaderboardsmat
2021-05-28add more useful stuff to indexmat
2021-05-28Don't fetch leaderboards multiple times when they're already being fetched (#47)mat
2021-05-28increase interval for updating leaderboardsmat
2021-05-27fix some bugs with it loading forevermat
2021-05-27random random debug things and optimize leaderboardsmat
optimize leaderboards by fetching all the raw ones at the beginning
2021-05-27make leaderboards send less requestsmat
2021-05-27disable "fast" mode for leaderboardsmat
2021-05-27log profile in fetchProfileUuid cache missmat
2021-05-27Profile customization (#45)mat
* add basic discord auth * add uuid dependency * add lastUpdated to sessions * add route to get session from id * add accounts collection * update build * add gm rank * add `customization` url parameter * add customization parameter to /player/:user * add route to get info from discord id * remove a console.log * Update database.js * Update package.json * fix tests
2021-05-25Compiled TS into JSmat-1
2021-05-24Revert "disable leaderboards"mat
This reverts commit 17866766304a9049dda716a21d94bcd4803980a7.
2021-05-24Revert "enable raw leaderboard cache again"mat
This reverts commit b33fbf90a8c7df808ee88ac2b38782fcfe93f224.
2021-05-24enable raw leaderboard cache againmat
2021-05-24disable leaderboardsmat
2021-05-10decrease memory usemat
2021-05-01Show minions that haven't been unlocked in response (#20)mat
* add minions that haven't been unlocked yet to response, and slightly optimize constants * remove most console.logs with console.debugs * mock constants
2021-04-29rename minion_count to unique_minionsmat
2021-04-28remove some debug stuffmat
2021-04-27Add minion_count leaderboard (#15)mat
* add minion count leaderboard * fix error that happens sometimes * Update index.js
2021-04-27Add unit tests (#12)mat
* start adding unit tests * add more to test/data/mojang.json * fix sending http requests in tests when it shouldn't * add a few more tests * try to add a github action to run tests * Update test.yml
2021-04-14revert change that makes leaderboards update slowlymat
2021-04-14Total leaderboards leaderboard working (#6)mat
* add leaderboards leaderboard * slightly optimize fetchPlayer to not unnecessarily fetch the same player twice * Compiled TS into JS * fix errors with fetch * fix random bugs that made people disappear from leaderboards
2021-04-14Revert "Total leaderboards leaderboard (#5)"mat
This reverts commit 0e5887326f1ba1f8005ca0bd217c5b332a1fb6cf.
2021-04-14Total leaderboards leaderboard (#5)mat
* add leaderboards leaderboard * slightly optimize fetchPlayer to not unnecessarily fetch the same player twice * Compiled TS into JS * fix errors with fetch
2021-04-13change max slayer level to 5mat
2021-04-13Slayer leaderboard (#4)mat
* add slayers to constants * Compiled TS into JS * change units to also show up when only changing one constant item * Compiled TS into JS * add slayer leaderboards * remove debugging stuff
2021-04-09fix people not being added to small leaderboardsmat
2021-04-08change how stats are sent to allow for extra infomat
2021-04-08Compiled TS into JSmat-1
2021-04-08Compiled TS into JSmat-1
2021-03-01change concurrent updating leaderboard members to 1mat