Qabel / qabel-desktop

(B2C) :computer: Desktop frontend of Qabel
Other
11 stars 12 forks source link

Quota display is updated very slowly #511

Open enkore opened 8 years ago

enkore commented 8 years ago

When uploading or deleting files I would expect the quota display to update near-immediately. Instead it just sits there.

Suggestions

julianseeger commented 8 years ago

Only local Tracking won't be very exact without push notifications from Block. We would definitely have to Poll periodically for the Quota

enkore notifications@github.com schrieb am Mi., 28. Sep. 2016 18:44:

When uploading or deleting files I would expect the quota display to update near-immediately. Instead it just sits there.

Suggestions

  • Track quota changes in-client
  • Update quota when changes were made

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Qabel/qabel-desktop/issues/511, or mute the thread https://github.com/notifications/unsubscribe-auth/ADG5isWEfRzmnXfQX8u4H8uU4er3rfoIks5qupl-gaJpZM4KJDNo .

enkore commented 8 years ago

Push notifications over WebSocket shouldn't be a big problem for the block server, since that works very nicely with the asynchronous server model of Tornado (it's even supported out of the box). Seeing the quite massive polling done by the clients this may be a good idea for not only quota changes, but all other changes as well to avoid polling, or at least reduce the frequency drastically.