add more logs
This commit is contained in:
@@ -231,6 +231,7 @@ class AppointmentRequestSender(threading.Thread):
|
||||
for mail in _mail_list:
|
||||
for _contact in self.list_to_retrieve_mails:
|
||||
if _contact.mail == mail.mail:
|
||||
self.logger.info("will get mail from " + mail.mail)
|
||||
_mail_list_filtered.append(mail)
|
||||
self.logger.info("will call find_links_to_validate_from_mail_list, size = " + str(len(_mail_list_filtered)))
|
||||
find_links_to_validate_from_mail_list(_mail_list_filtered)
|
||||
|
||||
@@ -206,7 +206,7 @@ def validate_all_links():
|
||||
# get the first 50 links
|
||||
_first_50_links = all_link_list[0:50]
|
||||
_queue_name = TEST_QUEUE
|
||||
_segment_number = 10
|
||||
_segment_number = 20
|
||||
last_thread = None
|
||||
for i in range(0, _segment_number):
|
||||
logger.info("{}:{} links to validate".format(threading.currentThread().name, len(_first_50_links)))
|
||||
|
||||
Reference in New Issue
Block a user