diff --git a/tubesync/tubesync/settings.py b/tubesync/tubesync/settings.py index f429d314..d2d83af8 100644 --- a/tubesync/tubesync/settings.py +++ b/tubesync/tubesync/settings.py @@ -163,9 +163,7 @@ HEALTHCHECK_FIREWALL = True 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 -BACKGROUND_TASK_PRIORITY_ORDERING = 'ASC' # Use 'niceness' task priority ordering 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) @@ -262,10 +260,6 @@ if MAX_RUN_TIME < 600: 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 patch_ensure_connection()