Closed 0xIslamTaha closed 5 years ago
@zaibon wouldnt it make more sense to add an appropriate default timeout in 0-robot and only increase/decrease it in certain actions whenever needed?
yeah but the problem is what is an appropriate timeout ? Cause we have action that can take 1s like 15 minutes. but yeah we should have a default timeout so we never get stuck forever
Since https://github.com/threefoldtech/0-robot/issues/51 task can be canceled when someone is waiting on them with a timeout. That can prevent any dead lock
Description As I can see we call
wait(die=True)
lots of time in all templates specially s3 and s3_redundant and in some cases, the action is hanging forever cause it usesdie=True
without any timeout conditions. I suggest settingtimeout=BIG_VALUE
to make sure that we r not hanging forever.