# Retry Policy for 10, 20, 30 minutes

**URL:** <https://community.temporal.io/t/retry-policy-for-10-20-30-minutes/9014>\
**Category:** Community Support\
**Tags:** retries, typescript-sdk\
**Created:** [July 31, 2023, 7:55am UTC](https://community.temporal.io/t/retry-policy-for-10-20-30-minutes/9014 "2023-07-31T07:55:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kishore\_kumar](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/kishore_kumar/32/4015_2.png) [@kishore\_kumar](https://community.temporal.io/u/kishore_kumar)\
**Post date:** [July 31, 2023, 7:55am UTC](https://community.temporal.io/t/retry-policy-for-10-20-30-minutes/9014/1 "2023-07-31T07:55:38Z")

</div>

WIth temporal retry policy we can achieve retry time as 10, 20, 40 minutes with backoffCoefficient as 2,  
but i need to achieve 10, 20, 30 minutes… how can it be achieved? using typescript

---

<div class="post-metadata">

**Author:** ![antonio.perez](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/antonio.perez/32/2417_2.png) [@antonio.perez](https://community.temporal.io/u/antonio.perez)\
**Post date:** [July 31, 2023, 9:24am UTC](https://community.temporal.io/t/retry-policy-for-10-20-30-minutes/9014/2 "2023-07-31T09:24:07Z")

</div>

Hi @kishore_kumar

I believe you can set backoffCoefficient=1 and initialInterval to 10 minutes, so the time between retries will remain the same always.

```auto
  "retryPolicy": {
    "backoffCoefficient": 1,
    "initialInterval": 600000
  }

```

There is a simulator that can help with this

> **[How to visualize an Activity Retry Policy with timeouts | Temporal Documentation](https://docs.temporal.io/dev-guide/activity-retry-simulator)**
>
> Use this tool to visualize total Activity Execution times and experiment with various Activity timeouts and Retry Policies.

Antonio

---

<div class="post-metadata">

**Author:** ![kishore\_kumar](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/kishore_kumar/32/4015_2.png) [@kishore\_kumar](https://community.temporal.io/u/kishore_kumar)\
**Post date:** [July 31, 2023, 9:26am UTC](https://community.temporal.io/t/retry-policy-for-10-20-30-minutes/9014/3 "2023-07-31T09:26:23Z")

</div>

hey @antonio.perez , The time between retries must be 10, 20, 30 minutes respectively, Not 10 always

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [July 31, 2023, 7:32pm UTC](https://community.temporal.io/t/retry-policy-for-10-20-30-minutes/9014/4 "2023-07-31T19:32:00Z")

</div>

Should it stop at 30? Or does it keep growing?

---

<div class="post-metadata">

**Author:** ![kishore\_kumar](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/kishore_kumar/32/4015_2.png) [@kishore\_kumar](https://community.temporal.io/u/kishore_kumar)\
**Post date:** [August 1, 2023, 3:33am UTC](https://community.temporal.io/t/retry-policy-for-10-20-30-minutes/9014/5 "2023-08-01T03:33:58Z")

</div>

yes, maxim. It should stop at 30

---

<div class="post-metadata">

**Author:** ![antonio.perez](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/antonio.perez/32/2417_2.png) [@antonio.perez](https://community.temporal.io/u/antonio.perez)\
**Post date:** [August 1, 2023, 9:29am UTC](https://community.temporal.io/t/retry-policy-for-10-20-30-minutes/9014/6 "2023-08-01T09:29:18Z")

</div>

you are right, sorry @kishore_kumar

Setting maximumInterval to 30 minutes, initial to 10 minutes and backoffCoefficient to 2 should work.

```auto

{
  "retryPolicy": {
    "backoffCoefficient": 2,
    "initialInterval": 60000,
    "maximumInterval": 180000
  }
}

```
