Mark items unavailable and retire DB optimization

This prepares us for the moving metadata to DB in the future
This commit is contained in:
Alex Ling
2021-01-19 15:09:38 +00:00
parent 781de97c68
commit 54cd15d542
9 changed files with 360 additions and 34 deletions

View File

@@ -109,7 +109,7 @@ class Library
storage.close
Logger.debug "Scan completed"
Storage.default.optimize
Storage.default.mark_unavailable
end
def get_continue_reading_entries(username)