Merge pull request #750 from tcely/patch-3
Use multiple threads for renaming
This commit is contained in:
1 file changed
+3
@@ -209,6 +209,9 @@ if MAX_RUN_TIME < 600:
|
||||
|
||||
DOWNLOAD_MEDIA_DELAY = 60 + (MAX_RUN_TIME / 20)
|
||||
|
||||
if RENAME_SOURCES or RENAME_ALL_SOURCES:
|
||||
BACKGROUND_TASK_ASYNC_THREADS += 1
|
||||
|
||||
if BACKGROUND_TASK_ASYNC_THREADS > MAX_BACKGROUND_TASK_ASYNC_THREADS:
|
||||
BACKGROUND_TASK_ASYNC_THREADS = MAX_BACKGROUND_TASK_ASYNC_THREADS
|
||||
|
||||
|
||||
Reference in new issue
Block a user