This is an automated email from the ASF dual-hosted git repository.
baodi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git
The following commit(s) were added to refs/heads/main by this push:
new 3efa80a Fix default operation timeout (#450)
3efa80a is described below
commit 3efa80a2667aae599118f27b8741c8236b2386c8
Author: Andrew Rhoads <[email protected]>
AuthorDate: Thu Oct 31 03:26:27 2024 -0700
Fix default operation timeout (#450)
---
lib/ClientConfigurationImpl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ClientConfigurationImpl.h b/lib/ClientConfigurationImpl.h
index 08d4b6e..0721c0a 100644
--- a/lib/ClientConfigurationImpl.h
+++ b/lib/ClientConfigurationImpl.h
@@ -30,7 +30,7 @@ struct ClientConfigurationImpl {
uint64_t memoryLimit{0ull};
int ioThreads{1};
int connectionsPerBroker{1};
- std::chrono::nanoseconds operationTimeout{30L * 1000 * 1000 * 1000};
+ std::chrono::nanoseconds operationTimeout{30LL * 1000 * 1000 * 1000};
int messageListenerThreads{1};
int concurrentLookupRequest{50000};
int maxLookupRedirects{20};