multi files

This commit is contained in:
2024-05-28 14:15:27 +02:00
parent fe137d5a66
commit f9b40e99d1
2 changed files with 11 additions and 10 deletions
+5 -5
View File
@@ -94,11 +94,11 @@ def send_request_for_file_list(file_list: list[str], thread_number: int = 20, da
if __name__ == '__main__':
file_list = ['~/Desktop/contact_list_2024-05-21.xlsx',
'~/Desktop/contact_list_2024-05-20.xlsx',
'~/Desktop/contact_list_2024-05-19.xlsx',
'~/Desktop/15_05_to_test.xlsx']
# file_list = ['~/Desktop/contact_list_2024-05-23.xlsx',
# '~/Desktop/contact_list_2024-05-22.xlsx',
# '~/Desktop/contact_list_2024-05-21.xlsx',
# '~/Desktop/15_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,
data_queue_name=MORNING_DATA_CACHE)
+6 -5
View File
@@ -6,11 +6,12 @@ from request_sender_test import send_request_for_file_list
def start_book_appointment():
file_list = ['~/Desktop/contact_list_2024-05-21.xlsx',
'~/Desktop/contact_list_2024-05-20.xlsx',
'~/Desktop/contact_list_2024-05-19.xlsx',
'~/Desktop/15_05_to_test.xlsx']
send_request_for_file_list(file_list=file_list, thread_number=32,
file_list = ['~/Desktop/contact_list_2024-05-27.xlsx',
'~/Desktop/contact_list_2024-05-25.xlsx'
'~/Desktop/contact_list_2024-05-24.xlsx',
'~/Desktop/contact_list_2024-05-23.xlsx',
'~/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)