DefiantLabs / cosmos-upgrades

a tool to search for scheduled cosmos upgrades
MIT License
4 stars 2 forks source link

persist chain registry data #6

Closed danbryan closed 1 year ago

danbryan commented 1 year ago

Rework defiant infra to give a persistent disk that can be used to hold chain-registry data.
Update the python code logic so If the data is less then X hours old, it should not need to be re-fetched.

danbryan commented 1 year ago

fyi @clemensgg I dded a 1GB persistent storage available at /cr. Still need to rework the code to choose where to save the cr data. I gave this a stab this morning, but was not working, ill try again later this weeknd, or if you want feel free.

clemensgg commented 1 year ago

oh yeah, we could do a REPO_LOCATION env var (defaults to ./ where it is currently extracted to).

it works great locally.