Skip to content

Commit 38285c2

Browse files
committed
fix(nc_model): increase timeout
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 981b151 commit 38285c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ex_app/lib/nc_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ def _generate(
9696
log(nc, LogLvl.DEBUG, task)
9797

9898
i = 0
99-
# wait for 5 seconds * 60 * 2 = 10 minutes (one i ^= 5 sec)
100-
while task.status != "STATUS_SUCCESSFUL" and task.status != "STATUS_FAILED" and i < 60 * 2:
99+
# wait for 5 seconds * 60 * 4 = 20 minutes (one i ^= 5 sec)
100+
while task.status != "STATUS_SUCCESSFUL" and task.status != "STATUS_FAILED" and i < 60 * 4:
101101
time.sleep(5)
102102
i += 1
103103
try:

0 commit comments

Comments
 (0)