Skip to content

Commit

Permalink
Add time limit for payment router (#7587)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsolo authored Feb 14, 2024
1 parent d1d318b commit 193f59e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ def process_payment_router_txs() -> None:


# ####### CELERY TASKS ####### #
@celery.task(name="index_payment_router", bind=True)
@celery.task(name="index_payment_router", time_limit=300, bind=True)
@save_duration_metric(metric_group="celery_task")
def index_payment_router(self):
# Cache custom task class properties
Expand Down

0 comments on commit 193f59e

Please sign in to comment.