Skip to content

Commit

Permalink
pr review update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Johnson committed Jan 30, 2025
1 parent 74723e0 commit 486981c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/celery/process_delivery_status_result_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,11 @@ def get_sms_retry_delay(retry_count: int) -> int:
return delay


def update_sms_retry_count(notification_retry_id: str, initial_value: int = 0, ttl: int | None = None) -> int:
def update_sms_retry_count(
notification_retry_id: str,
initial_value: int = 0,
ttl: int | None = None,
) -> int:
"""Get updated retry count for this notification from redis store, initializing pre-increment initial value if it doesn't exist
Args:
Expand Down

0 comments on commit 486981c

Please sign in to comment.