このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | |||
15_python:04_parallel [2019/08/09 02:27] – matsui | 15_python:04_parallel [2019/08/09 02:27] (現在) – matsui | ||
---|---|---|---|
行 22: | 行 22: | ||
init_logger() | init_logger() | ||
getLogger().info(" | getLogger().info(" | ||
- | with ThreadPoolExecutor(max_workers=10, thread_name_prefix=" | + | with ThreadPoolExecutor(max_workers=2, thread_name_prefix=" |
for i in range(5): | for i in range(5): | ||
executor.submit(task, | executor.submit(task, |