修改变量名称
This commit is contained in:
parent
b18bab69db
commit
480cda1781
4
main.py
4
main.py
@ -64,8 +64,8 @@ def run_task(task_name: str, url: str):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
task_file = "input.txt"
|
task_file = "input.txt"
|
||||||
batch_size = 3 # 每个线程处理的行数
|
per_thread_line_size = 3 # 每个线程处理的行数
|
||||||
|
|
||||||
lines = read_lines(task_file)
|
lines = read_lines(task_file)
|
||||||
process_lines_in_batches(lines, batch_size)
|
process_lines_in_batches(lines, per_thread_line_size)
|
||||||
print("finish, 程序结束...")
|
print("finish, 程序结束...")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user