summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.rr.yaml5
-rw-r--r--schemas/config/2.0.schema.json5
2 files changed, 10 insertions, 0 deletions
diff --git a/.rr.yaml b/.rr.yaml
index ccd4d785..ea5392df 100644
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -1329,6 +1329,11 @@ jobs:
# Default: amqp.default
exchange: default
+ # Redial timeout (in seconds). How long to try to reconnect to the AMQP server.
+ #
+ # Default: 60
+ redial_timeout: 60
+
# Exchange type
#
# Default: direct.
diff --git a/schemas/config/2.0.schema.json b/schemas/config/2.0.schema.json
index 3f9c0e91..6a866b6b 100644
--- a/schemas/config/2.0.schema.json
+++ b/schemas/config/2.0.schema.json
@@ -1458,6 +1458,11 @@
"type": "string",
"default": "amqp.default"
},
+ "redial_timeout": {
+ "description": "Redial timeout (in seconds). How long to try to reconnect to the AMQP server",
+ "type": "integer",
+ "default": 60
+ },
"exchange_durable": {
"description": "Durable exchange (rabbitmq option: https://www.rabbitmq.com/tutorials/amqp-concepts.html#exchanges)",
"type": "boolean",