Fix priorities. Lower comes first
This commit is contained in:
parent
a58863b992
commit
94f4ec7d40
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user