mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-13 15:47:18 +08:00
add a max_workers value
the default is 32 limited by cpu core count, but we don't really care about core count here because this is for io, so just use 32
This commit is contained in:
parent
00db33f6b7
commit
587d0c95f2
@ -48,7 +48,7 @@ user_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "user
|
||||
|
||||
filename_list_cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
|
||||
|
||||
async_executor = ThreadPoolExecutor()
|
||||
async_executor = ThreadPoolExecutor(32)
|
||||
|
||||
class CacheHelper:
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user