mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
debug
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ def bulk_request(domain, req_data, ret=False):
|
|||||||
urls_queue.put((index, url))
|
urls_queue.put((index, url))
|
||||||
session = get_session()
|
session = get_session()
|
||||||
thread_count = req_thread_count()
|
thread_count = req_thread_count()
|
||||||
if task_count <= req_thread_count():
|
if task_count <= thread_count:
|
||||||
# 如果请求任务数很小不用创建很多线程了
|
# 如果请求任务数很小不用创建很多线程了
|
||||||
thread_count = task_count
|
thread_count = task_count
|
||||||
bar = get_progress_bar(task_count)
|
bar = get_progress_bar(task_count)
|
||||||
|
|||||||
Reference in New Issue
Block a user