From 4c3e3d137dfc57e6557bc49767251153dae00dab Mon Sep 17 00:00:00 2001 From: Jonas Wiklund Date: Fri, 24 Aug 2018 04:35:14 +0200 Subject: [PATCH] Fix documentation for setParallelPullCount (#3542) #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..cf35733bda8b 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 one. */ public Builder setParallelPullCount(int parallelPullCount) { this.parallelPullCount = parallelPullCount;