Replies: 2 comments 4 replies
-
Can you share a simple example of what your orchestration code looks like? It doesn't normally make sense to use a cancellation token inside of an orchestrator token, but maybe there is another solution we could explore. |
Beta Was this translation helpful? Give feedback.
-
Yes, Durable Functions guarantees that the activity will eventually finish. However, we can't guarantee that it will finish before the process gets recycled if you click the restart button. If the activity execution gets interrupted by a host recycle, it will run again after about 5 minutes. This means that it's possible that the activity will run twice if the first execution gets interrupted before its completion can be recorded. |
Beta Was this translation helpful? Give feedback.
-
I have an infinite loop kind of situation for orchestrators(healthy loop). With the help of timer job we create an orchestrator and it triggers an activity. after the end of orchestrator, it triggers another orchestrator. This way our orchestrator keeps running until the job is done.
I want a graceful shutdown of host. i mean my orchestrator should not fire a new orchestrator and let the running activity end. But how can i get the cancellation token parameter into orchestrator, without the timer job being fired.
Beta Was this translation helpful? Give feedback.
All reactions