UTCSheffield / rockstarapi

An api for the executing of Rockstar and returning of all the variable values as they change. An online editor will also be provided.
MIT License
0 stars 1 forks source link

Clear Cache every Evening #10

Open devramsean0 opened 1 year ago

devramsean0 commented 1 year ago

With railway being 247 hosting, we should Clear the rock cache every evening, to ensure a blank state every session, links with issue #9 We could do this via cron

mr-eggleton commented 1 year ago

Do you know how many algoraves are on past midnight (in different countries). Can we have this after the gist stuff stuff works?

devramsean0 commented 1 year ago

I imagine quite a few algoraves go on past midnight, but we could implement checks, Like if a rock hasn't been compiled or pulled for x time, it continues to clear the cache, and if it has it retries every x time.

devramsean0 commented 1 year ago

but yeah it can wait till after the gist stuff has been implemented