Skip to content

Commit 6a93935

Browse files
committed
Temporarily reduce hardcoded task parallelism
1 parent 5500dbe commit 6a93935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/util/task_scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class TaskScheduler:
100100
# Time before a complete or failed task is deleted from the DB
101101
KEEP_TASKS_FOR_MS = 7 * 24 * 60 * 60 * 1000 # 1 week
102102
# Maximum number of tasks that can run at the same time
103-
MAX_CONCURRENT_RUNNING_TASKS = 5
103+
MAX_CONCURRENT_RUNNING_TASKS = 1 # Beep: temporarily changed from 5
104104
# Time from the last task update after which we will log a warning
105105
LAST_UPDATE_BEFORE_WARNING_MS = 24 * 60 * 60 * 1000 # 24hrs
106106
# Report a running task's status and usage every so often.

0 commit comments

Comments
 (0)