archivebox.core.settings
Module Contents
Classes
A router to store all the Huey result k:v / Huey Monitor models in the queue.sqlite3 database. We keep the databases separate because the queue database receives many more reads/writes per second and we want to avoid single-write lock contention with the main database. Also all the in-progress task data is ephemeral/not-important-long-term. This makes it easier to for the user to clear non-critical temp data by just deleting queue.sqlite3 and leaving index.sqlite3. |
Data
API
- class archivebox.core.settings.HueyDBRouter[source]
A router to store all the Huey result k:v / Huey Monitor models in the queue.sqlite3 database. We keep the databases separate because the queue database receives many more reads/writes per second and we want to avoid single-write lock contention with the main database. Also all the in-progress task data is ephemeral/not-important-long-term. This makes it easier to for the user to clear non-critical temp data by just deleting queue.sqlite3 and leaving index.sqlite3.