mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-18 09:07:40 +00:00
Implement delete thumbnail entry
Implement delete cache_dir on database change
This commit is contained in:
@@ -1074,3 +1074,6 @@ def get_download_link(book_id, book_format, client):
|
||||
|
||||
def clear_cover_thumbnail_cache(book_id):
|
||||
WorkerThread.add(None, TaskClearCoverThumbnailCache(book_id))
|
||||
|
||||
def delete_thumbnail_cache():
|
||||
WorkerThread.add(None, TaskClearCoverThumbnailCache(-1))
|
||||
|
Reference in New Issue
Block a user