pjfanning commented on code in PR #564:
URL: https://github.com/apache/incubator-pekko/pull/564#discussion_r1368625226
##########
serialization-jackson/src/main/resources/reference.conf:
##########
@@ -37,6 +37,18 @@ pekko.serialization.jackson {
}
+#//#stream-read-constraints
+pekko.serialization.jackson {
+ read {
+ # see
https://www.javadoc.io/static/com.fasterxml.jackson.core/jackson-core/2.15.2/com/fasterxml/jackson/core/StreamReadConstraints.html
+ # these defaults are the same as the defaults in `StreamReadConstraints`
+ max-nesting-depth = 1000
+ max-number-length = 1000
+ max-string-length = 20000000
Review Comment:
I honestly don't think adding the word `constraints` to the config names
here makes them any clearer. Config names need to balance descriptiveness with
conciseness.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]