Skip to content

Commit

Permalink
Switch result bytes variable to long
Browse files Browse the repository at this point in the history
  • Loading branch information
electrum committed Jan 14, 2015
1 parent bdd8b72 commit 004b6d5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -390,7 +390,7 @@ private synchronized Iterable<List<Object>> getData(Duration maxWait)

ImmutableList.Builder<RowIterable> pages = ImmutableList.builder();
// wait up to max wait for data to arrive; then try to return at least DESIRED_RESULT_BYTES
int bytes = 0;
long bytes = 0;
while (bytes < DESIRED_RESULT_BYTES) {
Page page = exchangeClient.getNextPage(maxWait);
if (page == null) {
Expand Down

0 comments on commit 004b6d5

Please sign in to comment.