use 25 segments

This commit is contained in:
2024-04-25 20:49:23 +02:00
parent 09cd5007da
commit 0c6d276f82
3 changed files with 5 additions and 8 deletions
+2 -2
View File
@@ -71,10 +71,10 @@ def send_appointment_request(message_queue_name, _contact_list):
def start_send_requests():
print("start send requests")
contacts_file_path = '~/Desktop/contact_list_2024-04-16_2.xlsx'
contacts_file_path = '~/Desktop/contact_list_2024-04-19.xlsx'
_contact_list = read_contacts(contacts_file_path)
_contact_list_to_book = filter_contacts(_contact_list)
_segment_number = 10
_segment_number = 1
logger.info("{} contacts to book".format(len(_contact_list_to_book)))
last_thread = None
for i in range(0, _segment_number):