threefoldtecharchive / 0-robot

Distributed live cycle management system
Apache License 2.0
0 stars 0 forks source link

Task cancellation #51

Closed zaibon closed 5 years ago

zaibon commented 5 years ago

In some situation it appears that some node task takes too long for some reasons. In order to not block the service forever, we might want to cancel a task to allow the task list to continue to be processed.

Cancellation is indeed what we can think of in the first place to solve this kind of problem. But it brings quite some questions:

From a code perspective I don't think implementing this is going to be hard. From the top of my head I can see:

zaibon commented 5 years ago

@0xIslamTaha @serboctor