Merge branch 'master' of bitbucket.org:panleicim/appointement_modem_pool
This commit is contained in:
@@ -78,7 +78,7 @@ def start_book(start_slot_number, end_slot_number, store=0):
|
||||
contacts = excel_reader.read_contacts()
|
||||
global current_sim_position
|
||||
current_sim_position = 0
|
||||
with ThreadPoolExecutor(max_workers=5) as executor:
|
||||
with ThreadPoolExecutor(max_workers=10) as executor:
|
||||
for modem in modem_list:
|
||||
current_sim_position = current_sim_position + 1
|
||||
try:
|
||||
@@ -123,4 +123,4 @@ def get_proxy(phone_number):
|
||||
|
||||
if __name__ == '__main__':
|
||||
# 修改起始行,结束行, 第三个参数store等于0的时候是随机,传入1的时候是总店
|
||||
start_book(3, 3, store=0)
|
||||
start_book(32, 32, store=0)
|
||||
|
||||
Reference in New Issue
Block a user