Add formulas to settings
This commit is contained in:
1 parent
65873a5963
commit
b66073dcd2
1 file changed
+6
@@ -188,6 +188,12 @@ except ImportError as e:
|
||||
sys.stderr.write(f'Unable to import local_settings: {e}\n')
|
||||
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
|
||||
patch_ensure_connection()
|
||||
Reference in new issue
Block a user