diff --git a/README.md b/README.md index a90997014..074d6c687 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ The `CommonFactory` reads a RabbitMQ configuration from the rabbitMQ.json file. * minConnectionRecoveryTimeout - this option defines a minimal interval in milliseconds between reconnect attempts, with its default value set to 10000. Common factory increases the reconnect interval values from minConnectionRecoveryTimeout to maxConnectionRecoveryTimeout. * maxConnectionRecoveryTimeout - this option defines a maximum interval in milliseconds between reconnect attempts, with its default value set to 60000. Common factory increases the reconnect interval values from minConnectionRecoveryTimeout to maxConnectionRecoveryTimeout. * prefetchCount - this option is the maximum number of messages that the server will deliver, with its value set to 0 if unlimited, the default value is set to 10. -* messageRecursionLimit - an integer number denotes how deep nested protobuf message might be, default = 500 +* messageRecursionLimit - an integer number denotes how deep nested protobuf message might be, default = 100 ```json { @@ -95,7 +95,7 @@ The `CommonFactory` reads a RabbitMQ configuration from the rabbitMQ.json file. "minConnectionRecoveryTimeout": 10000, "maxConnectionRecoveryTimeout": 60000, "prefetchCount": 10, - "messageRecursionLimit": 500 + "messageRecursionLimit": 100 } ``` diff --git a/src/main/kotlin/com/exactpro/th2/common/schema/message/impl/rabbitmq/configuration/RabbitMQConfiguration.kt b/src/main/kotlin/com/exactpro/th2/common/schema/message/impl/rabbitmq/configuration/RabbitMQConfiguration.kt index effba69df..d7d60395c 100644 --- a/src/main/kotlin/com/exactpro/th2/common/schema/message/impl/rabbitmq/configuration/RabbitMQConfiguration.kt +++ b/src/main/kotlin/com/exactpro/th2/common/schema/message/impl/rabbitmq/configuration/RabbitMQConfiguration.kt @@ -36,5 +36,5 @@ data class ConnectionManagerConfiguration( var minConnectionRecoveryTimeout: Int = 10000, var maxConnectionRecoveryTimeout: Int = 60000, val prefetchCount: Int = 10, - val messageRecursionLimit: Int = 500 + val messageRecursionLimit: Int = 100 ) : Configuration() \ No newline at end of file