humanprotocol / human-protocol

Human Protocol python/js/ts Monorepo with example
https://dashboard.humanprotocol.org
MIT License
23 stars 33 forks source link

[Human App] Add throttling to the refresh button #2795

Closed Dzeranov closed 1 hour ago

Dzeranov commented 2 hours ago

Description Need to add throttling mechanism to the refresh button: image

Motivation To avoid spamming requests to the exchange oracle.

dnechay commented 1 hour ago

In the future we might want to add api rate limiter to corresponding endpoint if it becomes an issue, but now having just "loading" state should be fine