application.workers package#

Subpackages#

Submodules#

application.workers.blob_cleanup module#

Periodically scan for orphan blobs and clean them up.

application.workers.blob_cleanup.blob_cleanup()#

Periodically scan for orphan blobs and clean them up.

Return type:

None

application.workers.fetch_book_covers module#

Periodically scan for linked books with remote thumbnails and pull the thumbnails locally.

application.workers.fetch_book_covers.fetch_book_covers()#

If both books and blobs are enabled, scan for books with a remote thumbnail, and download it to blob storage.

Return type:

None

application.workers.sync_google_books module#

Sync google books so the data stays up-to-date.

application.workers.sync_google_books.sync_google_books()#

Sync data for a handful of books, if they haven’t been synced in a while.

Return type:

None

Module contents#

Module for background worker process management.

application.workers.begin()#

Launch background worker processes.

Return type:

None