Commit dacc6546 authored by 吴升宇's avatar 吴升宇

fix 并发

parent 81b631c6
...@@ -108,7 +108,7 @@ def auto_click_per_1d_by_post(): ...@@ -108,7 +108,7 @@ def auto_click_per_1d_by_post():
print('auto_click_per_1d_by_post: len %s' % len(auto_click_list)) print('auto_click_per_1d_by_post: len %s' % len(auto_click_list))
total = len(auto_click_list) total = len(auto_click_list)
limit = (total + 30) // 30 limit = (total + 10) // 10
for start in range(0, total, limit): for start in range(0, total, limit):
batch = auto_click_list[start:start + limit] batch = auto_click_list[start:start + limit]
t = Thread(target=batch_handle, args=[batch]) t = Thread(target=batch_handle, args=[batch])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment