Clean up outdated settings

This commit is contained in:
tcely authored and GitHub committed 2026-02-05 14:11:40 -05:00
1 parent b188dcb2a0
commit beecb1977a
1 file changed
-6
-6
View File
@@ -163,9 +163,7 @@ HEALTHCHECK_FIREWALL = True
HEALTHCHECK_ALLOWED_IPS = ('127.0.0.1',) HEALTHCHECK_ALLOWED_IPS = ('127.0.0.1',)
MAX_ATTEMPTS = 15 # Number of times tasks will be retried
MAX_RUN_TIME = 12*(60*60) # Maximum amount of time in seconds a task can run MAX_RUN_TIME = 12*(60*60) # Maximum amount of time in seconds a task can run
BACKGROUND_TASK_PRIORITY_ORDERING = 'ASC' # Use 'niceness' task priority ordering
COMPLETED_TASKS_DAYS_TO_KEEP = 7 # Number of days to keep completed tasks COMPLETED_TASKS_DAYS_TO_KEEP = 7 # Number of days to keep completed tasks
MAX_ENTRIES_PROCESSING = 0 # Number of videos to process on source refresh (0 for no limit) MAX_ENTRIES_PROCESSING = 0 # Number of videos to process on source refresh (0 for no limit)
@@ -262,10 +260,6 @@ if MAX_RUN_TIME < 600:
DOWNLOAD_MEDIA_DELAY = 1 + round(MAX_RUN_TIME / 100) DOWNLOAD_MEDIA_DELAY = 1 + round(MAX_RUN_TIME / 100)
BACKGROUND_TASK_RUN_ASYNC = False
BACKGROUND_TASK_ASYNC_THREADS = 1
# MAX_BACKGROUND_TASK_ASYNC_THREADS = 1
from .dbutils import patch_ensure_connection # noqa from .dbutils import patch_ensure_connection # noqa
patch_ensure_connection() patch_ensure_connection()