Skip to content

Commit

Permalink
docs: include allowExcessMessages in docs example (#1245)
Browse files Browse the repository at this point in the history
As per #784

Co-authored-by: Megan Potter <57276408+feywind@users.noreply.github.com>
  • Loading branch information
lucasjohnston and feywind committed Apr 14, 2021
1 parent 0922164 commit e85b34c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samples/synchronousPullWithLeaseManagement.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ function main(
const request = {
subscription: formattedSubscription,
maxMessages: maxMessages,
allowExcessMessages: false,
};

let isProcessed = false;
Expand Down

0 comments on commit e85b34c

Please sign in to comment.