Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hivemind
Merge requests
!824
update haf for slow processing alarm (
haf#245
)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
update haf for slow processing alarm (
haf#245
)
mi/haf#259_slow_processing_alarm
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
3
Open
Marcin
requested to merge
mi/haf#259_slow_processing_alarm
into
develop
2 months ago
Overview
0
Commits
1
Pipelines
0
Changes
3
Expand
Reqd:
haf!593
,
reputation_tracker!79
Edited
2 months ago
by
Marcin
0
0
Merge request reports
Viewing commit
af607f65
Show latest version
3 files
+
4
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
af607f65
update haf for slow processing alarm
· af607f65
Marcin
authored
2 months ago
hive/indexer/hive_db/haf_functions.py
+
2
−
2
Options
@@ -12,8 +12,8 @@ def prepare_app_context(db: Db) -> None:
if
not
ctx_present
:
LIMIT_FOR_PROCESSED_BLOCKS
=
1000
synchronization_stages
=
f
"""
ARRAY[
(
'
MASSIVE_WITHOUT_INDEXES
'
,
{
ONE_WEEK_IN_BLOCKS
}
,
{
LIMIT_FOR_PROCESSED_BLOCKS
}
)
, (
'
MASSIVE_WITH_INDEXES
'
, 101,
{
LIMIT_FOR_PROCESSED_BLOCKS
}
)
hive.stage
(
'
MASSIVE_WITHOUT_INDEXES
'
,
{
ONE_WEEK_IN_BLOCKS
}
,
{
LIMIT_FOR_PROCESSED_BLOCKS
}
,
'
20 seconds
'
)
,
hive.stage
(
'
MASSIVE_WITH_INDEXES
'
, 101,
{
LIMIT_FOR_PROCESSED_BLOCKS
}
,
'
20 seconds
'
)
, hive.live_stage()
]::hive.application_stages
"""
log
.
info
(
f
"
No application context present. Attempting to create a
'
{
SCHEMA_NAME
}
'
context...
"
)
Loading