Add note in documentation and add warning related to retries parameter used without until (#28078)

This commit is contained in:
Giovanni Sciortino 2017-08-30 20:17:20 +02:00 committed by Brian Coca
parent 51c0d46056
commit d733f5af06
2 changed files with 3 additions and 0 deletions

View file

@ -509,6 +509,7 @@ class TaskExecutor:
retries += 1
else:
retries = 1
display.warning("The parameter 'retries' hasn't been defined, the value for 'retries' is forced to 1.")
delay = self._task.delay
if delay < 0: