From f9b40e99d19022da3e729626e3b695514ed3c774 Mon Sep 17 00:00:00 2001 From: Lei PAN Date: Tue, 28 May 2024 14:15:27 +0200 Subject: [PATCH] multi files --- request_sender_test.py | 10 +++++----- scheduler_test.py | 11 ++++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/request_sender_test.py b/request_sender_test.py index 1e84e3d..35782e6 100644 --- a/request_sender_test.py +++ b/request_sender_test.py @@ -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) diff --git a/scheduler_test.py b/scheduler_test.py index ccc7973..936bdaa 100644 --- a/scheduler_test.py +++ b/scheduler_test.py @@ -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)