Skip to content

Commit

Permalink
Upload_screens needs task_limit also
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Dec 11, 2024
1 parent 62f1551 commit d0dbcdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -3228,7 +3228,7 @@ def use_tqdm():
"ptscreens": 1,
"lensdump": 1,
}
default_pool_size = os.cpu_count()
default_pool_size = int(meta.get('task_limit', os.cpu_count()))
pool_size = host_limits.get(img_host, default_pool_size)

try:
Expand Down

0 comments on commit d0dbcdb

Please sign in to comment.