Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
beat
beat.web
Commits
b3ed6359
Commit
b3ed6359
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[settings] Add flag to control worker state update
parent
90969883
No related branches found
No related tags found
1 merge request
!194
Scheduler
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beat/web/settings/settings.py
+6
-0
6 additions, 0 deletions
beat/web/settings/settings.py
with
6 additions
and
0 deletions
beat/web/settings/settings.py
+
6
−
0
View file @
b3ed6359
...
...
@@ -219,6 +219,12 @@ SCHEDULING_INTERVAL = 5 #seconds
# a particular worker will run to verify jobs are not scheduled to itself
WORKER_INTERVAL
=
5
#seconds
# This is the frequency in seconds, in which the worker will update information
# about its internal state to the database. It is typically larger (much
# larger) than the WORKER_INTERVAL to avoid overloading the database with
# unnecessary requests.
WORKER_STATE_UPDATE
=
60
#seconds
# The maximum index split errors control the maximum number of times we can
# incur in an index split error condition without cancelling the block
# execution altogether. This number, multiplied by the scheduling interval,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment