josealobato / xiuxiueig

MIT License
0 stars 0 forks source link

[refactor] Improvements on the queue refresh. #56

Open josealobato opened 1 week ago

josealobato commented 1 week ago

The queue is being loaded many times. There is too solutions.

On views

Views receiving update notification should not request a refresh unless they are visible. They will request the update once they become visible anyway.

On Queue

FACT: Queue should be updated once a lecture has changed. The coordinator can inform the queue service about this fact, and only then will the queue be updated. That will remove entirely the need to update every time we get, reducing access to the repositories.