Skip to content

Commit

Permalink
fix: enable consistent read on dynamodb get operation
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang authored and tianrenz committed Aug 27, 2018
1 parent 6677ecd commit 0c205f7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export class DynamoDbPersistenceAdapter implements PersistenceAdapter {
[this.partitionKeyName] : attributesId,
},
TableName : this.tableName,
ConsistentRead : true,
};

let data : DynamoDB.DocumentClient.GetItemOutput;
Expand Down

0 comments on commit 0c205f7

Please sign in to comment.