Merge pull request #274 from flashbots/backfill-export

Backfill export
This commit is contained in:
Gui Heise
2022-02-22 13:30:39 -05:00
committed by GitHub
7 changed files with 51 additions and 14 deletions

View File

@@ -18,7 +18,7 @@ from mev_inspect.queue.broker import connect_broker
from mev_inspect.queue.tasks import (
HIGH_PRIORITY,
HIGH_PRIORITY_QUEUE,
export_block_task,
realtime_export_task,
)
from mev_inspect.signal_handler import GracefulKiller
@@ -46,7 +46,7 @@ async def run():
broker = connect_broker()
export_actor = dramatiq.actor(
export_block_task,
realtime_export_task,
broker=broker,
queue_name=HIGH_PRIORITY_QUEUE,
priority=HIGH_PRIORITY,