Skip to content

Commit 2c935d8

Browse files
authored
Set max-retry for workqueue by default (#1044)
Signed-off-by: Nghia Tran <[email protected]>
1 parent aaa9626 commit 2c935d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/workqueue/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ No requirements.
170170
| <a name="input_concurrent-work"></a> [concurrent-work](#input\_concurrent-work) | The amount of concurrent work to dispatch at a given time. | `number` | n/a | yes |
171171
| <a name="input_deletion_protection"></a> [deletion\_protection](#input\_deletion\_protection) | Whether to enable delete protection for the service. | `bool` | `true` | no |
172172
| <a name="input_labels"></a> [labels](#input\_labels) | Labels to apply to the workqueue resources. | `map(string)` | `{}` | no |
173-
| <a name="input_max-retry"></a> [max-retry](#input\_max-retry) | The maximum number of retry attempts before a task is moved to the dead letter queue. Default of 0 means unlimited retries. | `number` | `0` | no |
173+
| <a name="input_max-retry"></a> [max-retry](#input\_max-retry) | The maximum number of retry attempts before a task is moved to the dead letter queue. Set this to 0 to have unlimited retries. | `number` | `100` | no |
174174
| <a name="input_name"></a> [name](#input\_name) | n/a | `string` | n/a | yes |
175175
| <a name="input_notification_channels"></a> [notification\_channels](#input\_notification\_channels) | List of notification channels to alert. | `list(string)` | n/a | yes |
176176
| <a name="input_product"></a> [product](#input\_product) | Product label to apply to the service. | `string` | `"unknown"` | no |

modules/workqueue/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ variable "concurrent-work" {
2020
}
2121

2222
variable "max-retry" {
23-
description = "The maximum number of retry attempts before a task is moved to the dead letter queue. Default of 0 means unlimited retries."
23+
description = "The maximum number of retry attempts before a task is moved to the dead letter queue. Set this to 0 to have unlimited retries."
2424
type = number
25-
default = 0
25+
default = 100
2626
}
2727

2828
variable "reconciler-service" {

0 commit comments

Comments
 (0)