cointop-sh / cointop

A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
https://cointop.sh
Apache License 2.0
3.98k stars 311 forks source link

Reduce the number of pages to 10 (1000 coins) to reduce the load on backend... #255

Closed lyricnz closed 2 years ago

lyricnz commented 2 years ago

...and increase refresh time. This will also stop coingecko blocking people for >50 requests/minute. See #104 #228

miguelmota commented 2 years ago

LGTM! I think in the future we can have optional max_pages and per_page settings in the config file

lyricnz commented 2 years ago

I had a quick attempt to add this config, but got lost in the maze of ct.State vs ct.Config vs multiple entry points :/