retroph / speedrun-watch

Tool watching new runs from speedrun.com and posting info to several destinations - See https://retroph.github.io/
0 stars 0 forks source link

Add support for game series #9

Open retroph opened 6 years ago

retroph commented 6 years ago

Problem: cannot filter by game series on the runs API. Will sadly have to poll the new runs for each game separately.

Ideally should not get the game series info from SRC on each run. Simple implementation: store game lists as static JSON files (and deploy bot to update). Next version: store game series in DB and update it on a low-frequency cron.

TODO: need to improve update scheduling to allow this to scale. Maintain a global update frequency (e.g. 1 or 2 hours) for the whole series and spread game updates over time.