You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/01/05 02:59:15 UTC
[GitHub] [pulsar] nodece commented on a change in pull request #13596: [Broker] Add operation timeout to metadata store
nodece commented on a change in pull request #13596:
URL: https://github.com/apache/pulsar/pull/13596#discussion_r778516372
##########
File path: pulsar-metadata/src/main/java/org/apache/pulsar/metadata/api/MetadataStoreConfig.java
##########
@@ -69,4 +69,10 @@
*/
@Builder.Default
private final int batchingMaxSizeKb = 128;
+
+ /**
+ * The operation timeout in seconds.
+ */
+ @Builder.Default
+ private final int operationTimeoutSeconds = 30;
Review comment:
The `sessionTimeoutMillis` is used for heartbeat checks between zk client and server, so I don't think we should use this field as config of operation timeout.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org