File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/java/io/lumigo/core/configuration Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ public class Configuration {
2525 public static final String LUMIGO_KILL_SWITCH = "LUMIGO_SWITCH_OFF" ;
2626 public static final String LUMIGO_MAX_ENTRY_SIZE = "LUMIGO_MAX_ENTRY_SIZE" ;
2727 public static final String LUMIGO_MAX_RESPONSE_SIZE = "LUMIGO_MAX_RESPONSE_SIZE" ;
28+ public static final String LUMIGO_MAX_SIZE_FOR_REQUEST = "LUMIGO_MAX_SIZE_FOR_REQUEST" ;
2829 public static final String LUMIGO_INSTRUMENTATION = "LUMIGO_INSTRUMENTATION" ;
2930
3031 private static Configuration instance ;
@@ -131,6 +132,8 @@ public boolean isInstrumentationEnabled() {
131132 }
132133
133134 public int maxRequestSize () {
134- return envUtil .getIntegerEnv (LUMIGO_MAX_RESPONSE_SIZE , 1024 * 900 );
135+ return envUtil .getIntegerEnv (
136+ LUMIGO_MAX_SIZE_FOR_REQUEST ,
137+ envUtil .getIntegerEnv (LUMIGO_MAX_RESPONSE_SIZE , 1024 * 500 ));
135138 }
136139}
You can’t perform that action at this time.
0 commit comments