mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 21:46:44 +00:00
Add formulas to settings
This commit is contained in:
parent
65873a5963
commit
b66073dcd2
@ -188,6 +188,12 @@ except ImportError as e:
|
|||||||
sys.stderr.write(f'Unable to import local_settings: {e}\n')
|
sys.stderr.write(f'Unable to import local_settings: {e}\n')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
# Formulas: Do not touch! Modify the inputs instead.
|
||||||
|
DOWNLOAD_MEDIA_DELAY = 60 + int(MAX_RUN_TIME / 20)
|
||||||
|
|
||||||
|
if BACKGROUND_TASK_ASYNC_THREADS > MAX_BACKGROUND_TASK_ASYNC_THREADS:
|
||||||
|
BACKGROUND_TASK_ASYNC_THREADS = MAX_BACKGROUND_TASK_ASYNC_THREADS
|
||||||
|
|
||||||
|
|
||||||
from .dbutils import patch_ensure_connection
|
from .dbutils import patch_ensure_connection
|
||||||
patch_ensure_connection()
|
patch_ensure_connection()
|
||||||
|
Loading…
Reference in New Issue
Block a user