Skip to content

Commit

Permalink
例子更新
Browse files Browse the repository at this point in the history
  • Loading branch information
ll committed Aug 9, 2021
1 parent d859868 commit 7150222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/协程池使用_Asyncio原生实现.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def 接收结果(future):

def demo():
# 任务组, 最大协程数
pool = 协程池(协程数量=3, 线程池数量=10, 投递任务时阻塞=True)
pool = 协程池(协程数量=10, 线程池数量=1, 投递任务时阻塞=True)

# 插入任务任务
for i in range(1000):
Expand Down

0 comments on commit 7150222

Please sign in to comment.