Skip to content

Commit

Permalink
Logging: show number of SMS in SMTP delivery queue.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitram2342 committed Dec 15, 2024
1 parent bbb0d41 commit c66e8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/smsgate.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def _do_smtp_delivery(self):

while True:
try:
self.l.debug("Check delivery queue if E-mail should be sent.")
self.l.debug("Check delivery queue if E-mail should be sent. There are about %d SMS in the SMTP delivery queue." % self.smtp_delivery_queue.qsize())
_sms = self.smtp_delivery_queue.get(timeout=10)
self.l.info(f"[{_sms.get_id()}] Event in SMS-to-Mail delivery queue.")
if _sms:
Expand Down

0 comments on commit c66e8ce

Please sign in to comment.