edge / account

Account portal for managing Edge services
Other
3 stars 1 forks source link

Curb excessive polling #238

Open annybs opened 9 months ago

annybs commented 9 months ago

Account and balance polling takes place every 5 seconds, which is far more frequent than is actually needed in practice - these should be slowed down to once per minute at most.

Additionally, many pages include 5-second polling intervals for data that is relatively static. This type of polling should be removed entirely, and only activated when there is an ongoing event - for example, refreshing the server list when there is a server task running.

annybs commented 3 months ago

I've slowed down the global, high-frequency background polling in https://github.com/edge/account/pull/275/commits/b75c595aca67a39ce25b7676d1778b6ea27be5cb

Balance and session checks will now occur once per minute, rather than every 5 seconds.