can use multi thread to validate links
This commit is contained in:
+2
-2
@@ -5,14 +5,14 @@ from request_sender_test import start_send_requests
|
||||
|
||||
|
||||
def start_book_appointment():
|
||||
start_send_requests(thread_number=25, file_path='~/Desktop/contact_list_2024-04-25_2.xlsx')
|
||||
start_send_requests(thread_number=25, file_path='~/Desktop/contact_list_2024-05-04.xlsx')
|
||||
|
||||
|
||||
def start_check_results_job(sched):
|
||||
sched.add_job(start_book_appointment, 'cron', day_of_week='mon-sat', hour='10',
|
||||
minute='30',
|
||||
misfire_grace_time=10,
|
||||
second='0', timezone='Europe/Paris', max_instances=1, args=[])
|
||||
second='20', timezone='Europe/Paris', max_instances=1, args=[])
|
||||
|
||||
|
||||
def config_and_start_jobs():
|
||||
|
||||
Reference in New Issue
Block a user