Fix priorities. Lower comes first

This commit is contained in:
Luke Van Seters 2022-02-15 10:28:06 -05:00
parent a58863b992
commit 94f4ec7d40

View File

@ -9,10 +9,11 @@ from .middleware import DbMiddleware, InspectorMiddleware
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
# when we have export backfill,
# create a separate actor for backfill export # create a separate actor for backfill export
# set to same priority as backfill inspect # and set to same priority as backfill inspect
LIVE_EXPORT_BLOCK_PRIORITY = 1 LIVE_EXPORT_BLOCK_PRIORITY = 0
BACKFILL_INSPECT_MANY_BLOCKS_PRIORITY = 0 BACKFILL_INSPECT_MANY_BLOCKS_PRIORITY = 1
def inspect_many_blocks_task( def inspect_many_blocks_task(