Skip to content

Commit

Permalink
[TH2-2484] Change default "messageRecursionLimit" value
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-235 committed Dec 2, 2021
1 parent 146f6b4 commit 808d867
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 808d867

Please sign in to comment.