-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
help wantedExtra attention is neededExtra attention is neededrefactorCode that should be improvedCode that should be improved
Description
Currently quest and achievement data is handled inefficiently, causing extra delay to requests and stress on the internal network.
Scope of the refactor:
-
Move quests and achievements to their own MongoDB collections
- Make a script migrating the DB(?)
-
The
/players/:idendpoint no longer needs to wait for promise fromparseAchievementssince total achievement points are now included in the Hypixel API
Some relevant parts of code:
https://github.com/slothpixel/core/blob/master/routes/spec.js#L256-L266
https://github.com/slothpixel/core/blob/master/processors/processPlayerData.js#L131-L136
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededrefactorCode that should be improvedCode that should be improved