add attempt_count to config docs, set value to 1 in inital task save

This commit is contained in:
Tim O'Meara
2020-08-11 10:42:28 -05:00
parent 3c3395f24b
commit 45b0b2cc27
3 changed files with 28 additions and 0 deletions
+1
View File
@@ -497,6 +497,7 @@ def save_task(task, broker: Broker):
result=task["result"],
group=task.get("group"),
success=task["success"],
attempt_count=1
)
except Exception as e:
logger.error(e)