samples-python
samples-python copied to clipboard
change patching sample to use start_to_close_timeout for activities
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
-
Closes
-
How was this tested:
- Any docs updates needed?