mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-30 14:35:20 -04:00
only load django huey config when not getting help or version to avoid creating queue.sqlite3
This commit is contained in:
parent
02a1fc3049
commit
d48a99ab64
1 changed files with 31 additions and 30 deletions
|
@ -263,6 +263,7 @@ MIGRATION_MODULES = {'signal_webhooks': None}
|
|||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||
|
||||
|
||||
if not IS_GETTING_VERSION_OR_HELP: # dont create queue.sqlite3 file if we're just running to get --version or --help
|
||||
HUEY = {
|
||||
"huey_class": "huey.SqliteHuey",
|
||||
"filename": CONSTANTS.QUEUE_DATABASE_FILENAME,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue