samples-python icon indicating copy to clipboard operation
samples-python copied to clipboard

change patching sample to use start_to_close_timeout for activities

Open antmendoza opened this issue 4 months ago • 0 comments

What was changed

With schedule_to_close, if the developer restarts the worker after the activity is scheduled, the activity will throw a non-retriable error after 5 minutes.

Changed to start_to_close to make the activity failure retriable

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

antmendoza avatar Aug 28 '25 14:08 antmendoza