---
title: "retryPolicies"
summary: "@slack/webhook / retryPolicies"
url: "https://docs.slack.dev/tools/node-slack-sdk/reference/webhook/variables/retryPolicies"
type: "guide"
---

Source: https://docs.slack.dev/tools/node-slack-sdk/reference/webhook/variables/retryPolicies

[@slack/webhook](https://docs.slack.dev/tools/node-slack-sdk/reference/webhook.md) / retryPolicies

# Variable: retryPolicies

```
const retryPolicies: object;
```

Defined in: [packages/webhook/src/retry-policies.ts:35](https://github.com/slackapi/node-slack-sdk/blob/main/packages/webhook/src/retry-policies.ts#L35)

## Type Declaration {#type-declaration}

### fiveRetriesInFiveMinutes {#fiveretriesinfiveminutes}

```
fiveRetriesInFiveMinutes: RetryOptions;
```

Short & sweet, five retries in five minutes and then bail.

### rapidRetryPolicy {#rapidretrypolicy}

```
rapidRetryPolicy: RetryOptions;
```

This policy is just to keep the tests running fast.

### tenRetriesInAboutThirtyMinutes {#tenretriesinaboutthirtyminutes}

```
tenRetriesInAboutThirtyMinutes: RetryOptions;
```

The default retry policy. Retry up to 10 times, over the span of about 30 minutes. It's not exact because randomization has been added to prevent a stampeding herd problem (if all instances in your application are retrying a request at the exact same intervals, they are more likely to cause failures for each other).
