Skip to content

Commit

Permalink
Remove redundant setReturnImmediately(true)
Browse files Browse the repository at this point in the history
  • Loading branch information
mziccard committed Nov 11, 2016
1 parent c78723b commit 3ef4781
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ public Future<AsyncPage<SubscriptionId>> listSubscriptionsAsync(String topic,

private Future<Iterator<ReceivedMessage>> pullAsync(final String subscription,
int maxMessages, boolean returnImmediately) {
PullRequest request = PullRequest.newBuilder().setReturnImmediately(true)
PullRequest request = PullRequest.newBuilder()
.setSubscription(
SubscriberApi.formatSubscriptionName(getOptions().getProjectId(), subscription))
.setMaxMessages(maxMessages)
Expand Down

0 comments on commit 3ef4781

Please sign in to comment.