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
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
f03ce7ee
Commit
f03ce7ee
authored
Feb 11, 2019
by
Alain Takoudjou
Committed by
Rafael Monnerat
May 03, 2019
2
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
Show 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
...
...
Jérome Perrin
@jerome
mentioned in commit
30b582e5
·
May 16, 2019
mentioned in commit
30b582e5
mentioned in commit 30b582e561a3d8ac217b4a58197346dcd0a2b7b2
Toggle commit list
Jérome Perrin
@jerome
mentioned in merge request
!112 (closed)
·
May 16, 2019
mentioned in merge request
!112 (closed)
mentioned in merge request !112
Toggle commit list
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