multi files
This commit is contained in:
@@ -94,11 +94,11 @@ def send_request_for_file_list(file_list: list[str], thread_number: int = 20, da
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
file_list = ['~/Desktop/contact_list_2024-05-21.xlsx',
|
# file_list = ['~/Desktop/contact_list_2024-05-23.xlsx',
|
||||||
'~/Desktop/contact_list_2024-05-20.xlsx',
|
# '~/Desktop/contact_list_2024-05-22.xlsx',
|
||||||
'~/Desktop/contact_list_2024-05-19.xlsx',
|
# '~/Desktop/contact_list_2024-05-21.xlsx',
|
||||||
'~/Desktop/15_05_to_test.xlsx']
|
# '~/Desktop/15_05_to_test.xlsx']
|
||||||
# file_list = ['~/Desktop/15_05_to_test.xlsx', '~/Desktop/16_05_to_test.xlsx']
|
# file_list = ['~/Desktop/15_05_to_test.xlsx', '~/Desktop/16_05_to_test.xlsx']
|
||||||
# file_list = ['~/Desktop/contact_all_old.xlsx']
|
file_list = ['~/Desktop/contact_list_all.xlsx']
|
||||||
send_request_for_file_list(file_list=file_list, thread_number=30,
|
send_request_for_file_list(file_list=file_list, thread_number=30,
|
||||||
data_queue_name=MORNING_DATA_CACHE)
|
data_queue_name=MORNING_DATA_CACHE)
|
||||||
|
|||||||
+6
-5
@@ -6,11 +6,12 @@ from request_sender_test import send_request_for_file_list
|
|||||||
|
|
||||||
|
|
||||||
def start_book_appointment():
|
def start_book_appointment():
|
||||||
file_list = ['~/Desktop/contact_list_2024-05-21.xlsx',
|
file_list = ['~/Desktop/contact_list_2024-05-27.xlsx',
|
||||||
'~/Desktop/contact_list_2024-05-20.xlsx',
|
'~/Desktop/contact_list_2024-05-25.xlsx'
|
||||||
'~/Desktop/contact_list_2024-05-19.xlsx',
|
'~/Desktop/contact_list_2024-05-24.xlsx',
|
||||||
'~/Desktop/15_05_to_test.xlsx']
|
'~/Desktop/contact_list_2024-05-23.xlsx',
|
||||||
send_request_for_file_list(file_list=file_list, thread_number=32,
|
'~/Desktop/contact_list_2024-05-22.xlsx']
|
||||||
|
send_request_for_file_list(file_list=file_list, thread_number=40,
|
||||||
data_queue_name=MORNING_DATA_CACHE)
|
data_queue_name=MORNING_DATA_CACHE)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user