Skip to content
Snippets Groups Projects
Commit af607f65 authored by Marcin's avatar Marcin
Browse files

update haf for slow processing alarm

parent 0f0d9c6f
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !824. Comments created here will be created in the context of that merge request.
Subproject commit b1d8f2623bad9300464739e132764527dceab095 Subproject commit 89b677a08265319d9ca89b0a5b313a2f5343487a
...@@ -12,8 +12,8 @@ def prepare_app_context(db: Db) -> None: ...@@ -12,8 +12,8 @@ def prepare_app_context(db: Db) -> None:
if not ctx_present: if not ctx_present:
LIMIT_FOR_PROCESSED_BLOCKS = 1000 LIMIT_FOR_PROCESSED_BLOCKS = 1000
synchronization_stages = f"""ARRAY[ synchronization_stages = f"""ARRAY[
( 'MASSIVE_WITHOUT_INDEXES', {ONE_WEEK_IN_BLOCKS}, {LIMIT_FOR_PROCESSED_BLOCKS} ) hive.stage( 'MASSIVE_WITHOUT_INDEXES', {ONE_WEEK_IN_BLOCKS}, {LIMIT_FOR_PROCESSED_BLOCKS}, '20 seconds' )
, ( 'MASSIVE_WITH_INDEXES', 101, {LIMIT_FOR_PROCESSED_BLOCKS} ) , hive.stage( 'MASSIVE_WITH_INDEXES', 101, {LIMIT_FOR_PROCESSED_BLOCKS}, '20 seconds' )
, hive.live_stage() , hive.live_stage()
]::hive.application_stages""" ]::hive.application_stages"""
log.info(f"No application context present. Attempting to create a '{SCHEMA_NAME}' context...") log.info(f"No application context present. Attempting to create a '{SCHEMA_NAME}' context...")
......
Subproject commit aebfdbde02aa6c997e715f3152be6b66af858418 Subproject commit 977abfacd57fad3b5ea308c55177067f4a246cf9
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment