NebulousLabs / Sia-UI

A Graphical Frontend for Sia - https://sia.tech
MIT License
389 stars 109 forks source link

saner, more robust data polling in files/wallet plugins #634

Closed avahowell closed 7 years ago

avahowell commented 7 years ago

previously, Sia-UI updated its data by dispatching a new poll request every n seconds, regardless of the state of the previous polls. This PR changes the polling so that a new poll only happens if the previous poll finished, and ensures that poll requests can't build up and cause performance issues. Should improve stability for users on slower machines.