From 1689a209f9c000e6c615cba9869cc24ce48ad832 Mon Sep 17 00:00:00 2001 From: Jonas Wiklund Date: Thu, 9 Aug 2018 12:07:32 +0200 Subject: [PATCH] Fix documentation for setParallelPullCount https://github.com/GoogleCloudPlatform/google-cloud-java/pull/3147 Changed the default without updating the documentation. --- .../src/main/java/com/google/cloud/pubsub/v1/Subscriber.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java index 5debfdf3218f..c99639edd09c 100644 --- a/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java +++ b/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java @@ -583,8 +583,7 @@ public Builder setSystemExecutorProvider(ExecutorProvider executorProvider) { } /** - * Sets the number of pullers used to pull messages from the subscription. Defaults to the - * number of available processors. + * Sets the number of pullers used to pull messages from the subscription. Defaults to 1. */ public Builder setParallelPullCount(int parallelPullCount) { this.parallelPullCount = parallelPullCount;