Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.core
Commits
f03ce7ee
Commit
f03ce7ee
authored
Feb 11, 2019
by
Alain Takoudjou
Committed by
Rafael Monnerat
May 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grid.promise: check is promise is alive more often to speed up a bit
parent
22892104
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/grid/promise/__init__.py
slapos/grid/promise/__init__.py
+1
-1
No files found.
slapos/grid/promise/__init__.py
View file @
f03ce7ee
...
@@ -483,7 +483,7 @@ class PromiseLauncher(object):
...
@@ -483,7 +483,7 @@ class PromiseLauncher(object):
self
.
logger
.
info
(
"Checking promise %s..."
%
promise_name
)
self
.
logger
.
info
(
"Checking promise %s..."
%
promise_name
)
queue_item
=
None
queue_item
=
None
sleep_time
=
0.
1
sleep_time
=
0.
05
increment_limit
=
int
(
self
.
promise_timeout
/
sleep_time
)
increment_limit
=
int
(
self
.
promise_timeout
/
sleep_time
)
execution_time
=
self
.
promise_timeout
execution_time
=
self
.
promise_timeout
ps_profile
=
False
ps_profile
=
False
...
...
Write
Preview
Markdown
is supported
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