Skip to content

Commit

Permalink
#76 QueryValve fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Apr 27, 2016
1 parent 268df81 commit 51b797f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/jcabi/dynamo/QueryValve.java
Expand Up @@ -186,7 +186,7 @@ public int count(final Credentials credentials, final String table,
.withTableName(table)
.withReturnConsumedCapacity(ReturnConsumedCapacity.TOTAL)
.withKeyConditions(conditions)
.withConsistentRead(true)
.withConsistentRead(this.consistent)
.withSelect(Select.COUNT)
.withLimit(Integer.MAX_VALUE);
if (!this.index.isEmpty()) {
Expand Down

0 comments on commit 51b797f

Please sign in to comment.