You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a lag while Bookworm is closing as the state of each book in the library is saved to database. This lag increases when the number of books in the library is more.
Fix the issue so that the window is closed quickly and the process for saving the state of the books is done in the background
The text was updated successfully, but these errors were encountered:
@Philip-Scott Thats a good thought, at the moment I'm updating all the books data into the DB, irrespective of whether the user opened it or not. So definite scope for improvement.
However, using the async with callback I have managed to run the DB update without blocking the window closure. Done a few tests with around 30 books in the library and works fine, so closing this issue.
@choyan Marking you for this issue, hoping that you have some more ePubs to test this issue with around 50+ books when you have some time. Key sucess criteria:
1- When you close Bookworm, it should close immediately without lag
2- When you open Bookworm again, it should have "remembered" the last page of all the books which you would have opened in the last session and open those books from the correct page
@babluboy I've checked with more 60 books in the library. And opened several books.
1- The app is closing instantly without lag.
2- The database is working fine and saving the book state properly.
There is a lag while Bookworm is closing as the state of each book in the library is saved to database. This lag increases when the number of books in the library is more.
Fix the issue so that the window is closed quickly and the process for saving the state of the books is done in the background
The text was updated successfully, but these errors were encountered: