awslabs / amazon-kinesis-video-streams-pic

Apache License 2.0
50 stars 47 forks source link

Updating stepStateMachine to use stateTransitionHookFunc to get next retry wait time for local state retries #155

Closed kateyanurag closed 2 years ago

kateyanurag commented 2 years ago

Issue #, if available:

Description of changes: Updating stepStateMachine to use stateTransitionHookFunc to get next retry wait time for local state retries We're planning to emit an internal metric on the retry count, this change is required to ensure we're using same exponential backoff logic for adding wait time while transitioning to same OR different states.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.