Skip to content

Commit

Permalink
fixed uwsgi docs + testPyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpoi committed Dec 27, 2024
1 parent 0b3eb53 commit ecd4df2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/uwsgi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Just add this short snipped to the project's ``wsgi.py`` file:
@uwsgidecorators.timer(10)
def send_queued_mail(num):
"""Send queued mail every 10 seconds"""
call_command('send_queued_mail', processes=1)
call_command('sendmail', 'all', processes=1)
except ImportError:
print("uwsgidecorators not found. Cron and timers are disabled")
Expand Down
2 changes: 1 addition & 1 deletion sendmail/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

def queued_mail_handler(sender, **kwargs):
"""
To be called by :func:`post_office.signals.email_queued.send()` for triggering asynchronous
To be called by :func:`sendmail.signals.email_queued.send()` for triggering asynchronous
mail delivery – if provided by an external queue, such as Celery.
"""
else:
Expand Down
2 changes: 1 addition & 1 deletion sendmail/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4, 1, 3
4, 1, 4

0 comments on commit ecd4df2

Please sign in to comment.