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
Merge requests
!219
cpulimit fix
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
cpulimit fix
cpulimit_fix
into
master
Overview
6
Commits
2
Pipelines
1
Changes
2
Merged
Flavio TARSETTI
requested to merge
cpulimit_fix
into
master
8 years ago
Overview
6
Commits
2
Pipelines
1
Changes
2
Expand
cpulimit fix and removed pages/502.html
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c90f18d1
2 commits,
8 years ago
2 files
+
1
−
35
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
beat/web/backend/views.py
+
1
−
2
Options
@@ -56,7 +56,6 @@ from . import schedule
@@ -56,7 +56,6 @@ from . import schedule
class
Work
:
class
Work
:
'''
Helper to do the required worker job for local scheduling
'''
'''
Helper to do the required worker job for local scheduling
'''
cpulimit
=
None
process
=
None
process
=
None
environments
=
None
environments
=
None
worker
=
None
worker
=
None
@@ -91,7 +90,7 @@ class Work:
@@ -91,7 +90,7 @@ class Work:
if
Work
.
worker
is
None
:
self
.
__setup__
()
if
Work
.
worker
is
None
:
self
.
__setup__
()
# Regular work
# Regular work
Work
.
worker
.
work
(
Work
.
environments
,
Work
.
cpulimit
,
Work
.
process
)
Work
.
worker
.
work
(
Work
.
environments
,
Work
.
process
)
#------------------------------------------------
#------------------------------------------------
Loading