You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: replace message_ttl with static max retry count (#2638)
This PR replaces the `courier.message_ttl` configuration option with a `courier.message_retries` option to limit how often the sending of a message is retried before it is marked as `abandoned`.
BREAKING CHANGES: This is a breaking change, as it removes the `courier.message_ttl` config key and replaces it with a counter `courier.message_retries`.
Closes#402Closes#1598
Copy file name to clipboardExpand all lines: .schemastore/config.schema.json
+6-8
Original file line number
Diff line number
Diff line change
@@ -1471,15 +1471,13 @@
1471
1471
"/conf/courier-templates"
1472
1472
]
1473
1473
},
1474
-
"message_ttl": {
1475
-
"description": "Defines a Time-To-Live for courier messages that could not be delivered. After the defined TTL has expired for a message that message is abandoned.",
1476
-
"type": "string",
1477
-
"pattern": "^([0-9]+(ns|us|ms|s|m|h))+$",
1478
-
"default": "1h",
1474
+
"message_retries": {
1475
+
"description": "Defines the maximum number of times the sending of a message is retried after it failed before it is marked as abandoned",
Copy file name to clipboardExpand all lines: embedx/config.schema.json
+6-8
Original file line number
Diff line number
Diff line change
@@ -1549,15 +1549,13 @@
1549
1549
"/conf/courier-templates"
1550
1550
]
1551
1551
},
1552
-
"message_ttl": {
1553
-
"description": "Defines a Time-To-Live for courier messages that could not be delivered. After the defined TTL has expired for a message that message is abandoned.",
1554
-
"type": "string",
1555
-
"pattern": "^([0-9]+(ns|us|ms|s|m|h))+$",
1556
-
"default": "1h",
1552
+
"message_retries": {
1553
+
"description": "Defines the maximum number of times the sending of a message is retried after it failed before it is marked as abandoned",
0 commit comments