Skip to content

Commit

Permalink
Add process_decoded_internal_txs_task to the processing queue
Browse files Browse the repository at this point in the history
  • Loading branch information
moisses89 committed Oct 30, 2024
1 parent 09c6242 commit 0546bfa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@
"safe_transaction_service.history.tasks.process_decoded_internal_txs_for_safe_task",
{"queue": "processing", "delivery_mode": "transient"},
),
(
"safe_transaction_service.history.tasks.process_decoded_internal_txs_task",
{"queue": "processing", "delivery_mode": "transient"},
),
(
"safe_transaction_service.history.tasks.*",
{"queue": "indexing", "delivery_mode": "transient"},
Expand Down
2 changes: 2 additions & 0 deletions safe_transaction_service/history/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ def process_decoded_internal_txs_task(self) -> Optional[int]:
else:
logger.info("%d Safes to process", count)

return count


@app.shared_task(bind=True)
@task_timeout(timeout_seconds=LOCK_TIMEOUT)
Expand Down

0 comments on commit 0546bfa

Please sign in to comment.