mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Rename task and function for clarity
This doesn't just relate to templated letters, it's actually just checking that there are not any letters still in created that should not be. This change to the naming makes it more accurate and therefore easy to understand
This commit is contained in:
@@ -214,9 +214,9 @@ def check_precompiled_letter_state():
|
||||
)
|
||||
|
||||
|
||||
@notify_celery.task(name='check-templated-letter-state')
|
||||
@notify_celery.task(name='check-if-letters-still-in-created')
|
||||
@statsd(namespace="tasks")
|
||||
def check_templated_letter_state():
|
||||
def check_if_letters_still_in_created():
|
||||
letters = dao_old_letters_with_created_status()
|
||||
|
||||
if len(letters) > 0:
|
||||
|
||||
Reference in New Issue
Block a user