openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1797785 - /openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/Meecrowave.java
Date Tue, 06 Jun 2017 13:01:36 GMT
Author: rmannibucau
Date: Tue Jun  6 13:01:36 2017
New Revision: 1797785

URL: http://svn.apache.org/viewvc?rev=1797785&view=rev
Log:
MEECROWAVE-36 default max string length decreasing to align on tomee and user habits - avoid
OOME

Modified:
    openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/Meecrowave.java

Modified: openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/Meecrowave.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/Meecrowave.java?rev=1797785&r1=1797784&r2=1797785&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/Meecrowave.java
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/Meecrowave.java
Tue Jun  6 13:01:36 2017
@@ -951,7 +951,7 @@ public class Meecrowave implements AutoC
         private String jsonpBufferStrategy = BufferStrategy.QUEUE.name();
 
         @CliOption(name = "jsonp-max-string-length", description = "JSON-P JAX-RS provider
max string limit size (see johnzon)")
-        private int jsonpMaxStringLen = 10 * 1024 * 1024;
+        private int jsonpMaxStringLen = 64 * 1024;
 
         @CliOption(name = "jsonp-read-buffer-length", description = "JSON-P JAX-RS provider
read buffer limit size (see johnzon)")
         private int jsonpMaxReadBufferLen = 64 * 1024;



Mime
View raw message