Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.web
Commits
72fa7d68
Commit
72fa7d68
authored
Feb 06, 2017
by
Flavio TARSETTI
Browse files
[backend] removed cpulimit from views.py
parent
a222a196
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/web/backend/views.py
View file @
72fa7d68
...
...
@@ -56,7 +56,6 @@ from . import schedule
class
Work
:
'''Helper to do the required worker job for local scheduling'''
cpulimit
=
None
process
=
None
environments
=
None
worker
=
None
...
...
@@ -91,7 +90,7 @@ class Work:
if
Work
.
worker
is
None
:
self
.
__setup__
()
# Regular work
Work
.
worker
.
work
(
Work
.
environments
,
Work
.
cpulimit
,
Work
.
process
)
Work
.
worker
.
work
(
Work
.
environments
,
Work
.
process
)
#------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment