Skip to content

Commit

Permalink
chore: Increase max chunk retries to 5 (#11060)
Browse files Browse the repository at this point in the history
<!--
Before opening a pull request, please read the [contributing
guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md)
first
-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `maxRetries` configuration in multiple
`next.config.mjs` files across various applications from `3` to `5`,
allowing for more retry attempts in case of failures.

### Detailed summary
- Updated `maxRetries` from `3` to `5` in:
  - `apps/blog/next.config.mjs`
  - `apps/aptos/next.config.mjs`
  - `apps/games/next.config.mjs`
  - `apps/bridge/next.config.mjs`
  - `apps/web/next.config.mjs`
  - `apps/gamification/next.config.mjs`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
memoyil authored Dec 17, 2024
1 parent e92e111 commit cb1ffd7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/aptos/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const nextConfig = {
retryDelay: `function(retryAttempt) {
return 2 ** (retryAttempt - 1) * 500;
}`,
maxRetries: 3,
maxRetries: 5,
}),
)
return webpackConfig
Expand Down
2 changes: 1 addition & 1 deletion apps/blog/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const nextConfig = {
retryDelay: `function(retryAttempt) {
return 2 ** (retryAttempt - 1) * 500;
}`,
maxRetries: 3,
maxRetries: 5,
}),
)
return webpackConfig
Expand Down
2 changes: 1 addition & 1 deletion apps/bridge/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const nextConfig = {
retryDelay: `function(retryAttempt) {
return 2 ** (retryAttempt - 1) * 500;
}`,
maxRetries: 3,
maxRetries: 5,
}),
)
return webpackConfig
Expand Down
2 changes: 1 addition & 1 deletion apps/games/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const nextConfig = {
retryDelay: `function(retryAttempt) {
return 2 ** (retryAttempt - 1) * 500;
}`,
maxRetries: 3,
maxRetries: 5,
}),
)
return webpackConfig
Expand Down
2 changes: 1 addition & 1 deletion apps/gamification/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const nextConfig = {
retryDelay: `function(retryAttempt) {
return 2 ** (retryAttempt - 1) * 500;
}`,
maxRetries: 3,
maxRetries: 5,
}),
)
if (!isServer && webpackConfig.optimization.splitChunks) {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const config = {
retryDelay: `function(retryAttempt) {
return 2 ** (retryAttempt - 1) * 500;
}`,
maxRetries: 3,
maxRetries: 5,
}),
)
if (!isServer && webpackConfig.optimization.splitChunks) {
Expand Down

0 comments on commit cb1ffd7

Please sign in to comment.