-
Notifications
You must be signed in to change notification settings - Fork 502
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
[Bug]: Audiobookshelf becomes unusable when adding a lot of books #2323
Comments
This issue can be resolved in 2 different places in the code. The cause is that anytime the home page gets a socket event
Solution 1: Instead of fetching new categories again we should just insert the new item in the "Recently Added" shelf. The downside is we won't show potentially new authors or series updates until the page is changed/refreshed. Solution 2: Instead of emitting the
Solution 1 is better I think but we could do both since other clients may listen to that event as well. |
I think the first solution is good. |
…ems to the recently added shelf instead of refreshing all shelves #2323
Fixed in v2.6.0 |
Describe the issue
When adding ~1000 books to my > 2.5.0 (d2aea86) development setup, I noticed that Audiobookshelf became basically unusable for a few minutes since the UI would refresh multiple times a second:
audiobookshelf-flickering-ui.mp4
Steps to reproduce the issue
Just generate a lot of new media files in your audiobook folder.
For example with:
Audiobookshelf version
How are you running audiobookshelf?
Built from source
The text was updated successfully, but these errors were encountered: