Commit f03ce7ee authored by Alain Takoudjou's avatar Alain Takoudjou Committed by Rafael Monnerat

grid.promise: check is promise is alive more often to speed up a bit

parent 22892104
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment