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
72fa7d68
Commit
72fa7d68
authored
8 years ago
by
Flavio TARSETTI
Browse files
Options
Downloads
Patches
Plain Diff
[backend] removed cpulimit from views.py
parent
a222a196
No related branches found
No related tags found
1 merge request
!219
cpulimit fix
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beat/web/backend/views.py
+1
-2
1 addition, 2 deletions
beat/web/backend/views.py
with
1 addition
and
2 deletions
beat/web/backend/views.py
+
1
−
2
View file @
72fa7d68
...
@@ -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
)
#------------------------------------------------
#------------------------------------------------
...
...
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