mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-23 00:56:39 +08:00
提高线程数
This commit is contained in:
@@ -61,7 +61,7 @@ for i in range(1, page + 1):
|
|||||||
repoList.append(j["name"])
|
repoList.append(j["name"])
|
||||||
# 多线程处理以提升速度
|
# 多线程处理以提升速度
|
||||||
thread = 0
|
thread = 0
|
||||||
threadMax = 10
|
threadMax = 16
|
||||||
for i in repoList:
|
for i in repoList:
|
||||||
while True:
|
while True:
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|||||||
Reference in New Issue
Block a user