Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bumping codec limit to 20mb #258

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public abstract class WebClientFactory {
private static final String SESSION_ID = "session-id";

public static final String HTTP_HEADER_CLIENT_NAME = "X-Client-Name";
private static final int IN_MEMORY_BUFFER_SIZE = 10 * 1000 * 1024;
private static final int IN_MEMORY_BUFFER_SIZE = 20 * 1024 * 1024;
// The maximum number of connections per connection pool
private static final int MAX_CONNECTION_POOL_SIZE = 500;
// Max time to keep requests in pending queue before acquiring a connection
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spring.codec.max-in-memory-size=10MB
spring.codec.max-in-memory-size=20MB
springdoc.packages-to-scan=com.linkedin.openhouse, com.linkedin.openhouse.housetables
springdoc.swagger-ui.disable-swagger-default-url=true
springdoc.swagger-ui.filter=true
Expand Down
2 changes: 1 addition & 1 deletion services/jobs/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spring.codec.max-in-memory-size=10MB
spring.codec.max-in-memory-size=20MB
springdoc.packages-to-scan=com.linkedin.openhouse.jobs
springdoc.swagger-ui.disable-swagger-default-url=true
springdoc.swagger-ui.filter=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
public class MainApplicationConfig extends BaseApplicationConfig {
public static final String APP_NAME = "tables";
private static final Pattern VERSION_PART_PATTERN = Pattern.compile("v[0-9]+");
private static final int IN_MEMORY_BUFFER_SIZE = 10 * 1000 * 1024;
private static final int IN_MEMORY_BUFFER_SIZE = 20 * 1024 * 1024;

private static final int DNS_QUERY_TIMEOUT_SECONDS = 10;

Expand Down
2 changes: 1 addition & 1 deletion services/tables/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring.mvc.throw-exception-if-no-handler-found=true
spring.mvc.static-path-pattern=favicon.ico
spring.web.resources.static-locations=classpath:/static
spring.codec.max-in-memory-size=10MB
spring.codec.max-in-memory-size=20MB
springdoc.packages-to-scan=com.linkedin.openhouse.tables
springdoc.swagger-ui.disable-swagger-default-url=true
springdoc.swagger-ui.filter=true
Expand Down
Loading