lhotari commented on code in PR #25224:
URL: https://github.com/apache/pulsar/pull/25224#discussion_r2773656827
##########
pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java:
##########
@@ -808,6 +808,22 @@ public class ProxyConfiguration implements
PulsarConfiguration {
)
private int httpProxyTimeout = 5 * 60 * 1000;
+ @FieldContext(
+ minValue = 0,
+ category = CATEGORY_HTTP,
+ doc = "Http idle timeout.\n\n"
+ + "The idle timeout value for HTTP is in millisecond."
+ )
+ private int httpIdleTimeout = 30 * 1000;
+
+ @FieldContext(
+ minValue = 0,
+ category = CATEGORY_HTTP,
+ doc = "Http proxy idle timeout.\n\n"
+ + "The idle timeout value for HTTP proxy is in
millisecond."
+ )
+ private int httpProxyIdleTimeout = 30 * 1000;
Review Comment:
please add these keys to `proxy.conf`
##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -347,6 +347,12 @@ public class ServiceConfiguration implements
PulsarConfiguration {
)
private int httpServerAcceptQueueSize = 8192;
+ @FieldContext(
+ category = CATEGORY_HTTP,
+ doc = "Idle timeout for HTTP server connections in milliseconds."
+ )
+ private int httpServerIdleTimeout = 30 * 1000;
Review Comment:
please add this key to `broker.conf` and `standalone.conf` too
--
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]