use DE queue to apply appointment request

This commit is contained in:
2024-03-14 17:20:01 +01:00
parent 83871f8e4b
commit 036e688f8b
5 changed files with 54 additions and 11 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ class AppointmentRequestSender(threading.Thread):
self.contact_list = filter_contacts(self.contact_list)
# remove already booked contacts
random.shuffle(self.contact_list)
if len(self.contact_list) > 0 and is_open() and _message_count > 100:
if len(self.contact_list) > 0 and is_open() and _message_count > 5:
captchaResultGetter = CaptchaResultGetter()
print("contact number is {}".format(len(self.contact_list)))
self.contact_list = filter_contacts(self.contact_list)