Shreyas arya

Generation

generate functionThu, 09 Feb 2023

When requests to Step Function fail, Workflow Service performs exponential backoff retries to notify Step Function service. Number of retries = 3 The total duration of all attempts doesn't exceed 10 seconds.

Integer retrySeconds = 0; for (int i = 1; i <= 3; i++) { retrySeconds += Math.pow(2, i - 1); }

Questions about programming?Chat with your personal AI assistant