management: Rename the deliver_email command to deliver_scheduled_email.

This makes it parallel with deliver_scheduled_messages, and clarifies
that it is not used for simply sending outgoing emails (e.g. the
`email_senders` queue).

This also renames the supervisor job to match.
This commit is contained in:
Alex Vandiver
2021-05-11 01:32:31 +00:00
committed by Tim Abbott
parent f7baa3c388
commit 0f1611286d
10 changed files with 32 additions and 26 deletions

View File

@@ -325,7 +325,7 @@ REGISTER_LINK_DISABLED: Optional[bool] = None
LOGIN_LINK_DISABLED = False
FIND_TEAM_LINK_DISABLED = True
# Controls if the server should run certain jobs like deliver_email or
# Controls if the server should run certain jobs like deliver_scheduled_emails or
# deliver_scheduled_messages. This setting in long term is meant for
# handling jobs for which we don't have a means of establishing a locking
# mechanism that works with multiple servers running these jobs.