-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add websocket connection to UI for live UI updates #43
Comments
The reason this isn't implemented yet is that the UI would need to constantly check the queue for if an item is downloaded and then change the check mark. This is quite resource intensive because we would need to constantly make requests (like every second). This is already happening for tasks that appear at the bottom left in the nav bar and when viewing the queue to keep the queue updated. A better solution would be to setup a websocket connection between the UI and the backend with which a constant connection can be kept to send live updates to the UI by the backend. Then no constant requests have to be made for anything. |
Nice, sounds like a good implementation. |
* Added working base (#129) * POC working with socket.io flask * send to socket on task complete * Fixed shutting down and converted tasks to websocket * Made download queue use websocket --------- Co-authored-by: Aaron Eikenberry <[email protected]>
Description of the bug
Library not updating after search until page refresh
To Reproduce
Expected behaviour
Check mark will appear after file recognition.
The text was updated successfully, but these errors were encountered: