Skip to content

Commit 47cc465

Browse files
committed
Increase default part count to 250
1 parent 5ff8efe commit 47cc465

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

server/configs/application.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ context.encryptionKey=@@encryptionKey@@
6565
#context.bypass2FA=true
6666
#context.workDirLocation=/path/to/desired/workDir
6767

68-
## Tomcat v10.1.42 lowered the default for part count from 1000 to 10. Our default is now 100, but can be overridden here.
68+
## Tomcat v10.1.42 lowered the default for part count from 1000 to 10. Our default is now 250, but can be overridden here.
6969
## Header size default changed from 10Kb to 512, which is also our default.
70-
#context.maxConnectorPartCount=100
70+
#context.maxConnectorPartCount=250
7171
#context.maxConnectorPartHeaderSize=512
7272

7373
## SMTP configuration

server/configs/webapps/embedded/config/application.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ mail.smtpUser=Anonymous
103103
#context.bypass2FA=true
104104
#context.workDirLocation=@@/path/to/desired/workDir@@
105105

106-
## Tomcat v10.1.42 lowered the default for part count from 1000 to 10. Our default is now 100, but can be overridden here.
106+
## Tomcat v10.1.42 lowered the default for part count from 1000 to 10. Our default is now 250, but can be overridden here.
107107
## Header size default changed from 10Kb to 512, which is also our default.
108-
#context.maxConnectorPartCount=100
108+
#context.maxConnectorPartCount=250
109109
#context.maxConnectorPartHeaderSize=512
110110

111111
## Other webapps to be deployed, most commonly to deliver a set of static files. The context path to deploy into is the

server/embedded/src/org/labkey/embedded/LabKeyServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ public static class ContextProperties
466466
private Map<String, Map<String, Map<String, String>>> resources;
467467
private Map<String, String> additionalWebapps;
468468

469-
private Integer maxConnectorPartCount = 100;
469+
private Integer maxConnectorPartCount = 250;
470470
private Integer maxConnectorPartHeaderSize = 512;
471471

472472
public List<String> getDataSourceName()

0 commit comments

Comments
 (0)