Skip to content

Commit

Permalink
Code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
spookylukey committed Sep 27, 2023
1 parent 53ee4f0 commit 863a997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mailer/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

def postgres_send_loop():
"""
Loop indefinitely, checking queue using NOTIFY/LISTEN and running send_mail(),
Loop indefinitely, checking queue using NOTIFY/LISTEN and running send_all(),
and additional running every MAILER_EMPTY_QUEUE_SLEEP seconds.
"""
# See https://www.psycopg.org/docs/advanced.html#asynchronous-notifications
Expand Down Expand Up @@ -139,7 +139,7 @@ def worker():

@dataclass
class Scheduled:
now: datetime
now: datetime # this is used for debugging only, we just need some object on the queue


def beat():
Expand Down

0 comments on commit 863a997

Please sign in to comment.