Skip to content

Commit

Permalink
[service-bus] Fixing broken option - we renamed it to maxWaitTimeInMs…
Browse files Browse the repository at this point in the history
… a few previews back. (Azure#11410)
  • Loading branch information
richardpark-msft authored and deyaaeldeen committed Sep 25, 2020
1 parent 258dfb2 commit 7f8aa53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function main() {
try {
for (let i = 0; i < 10; i++) {
const messages = await queueReceiver.receiveMessages(1, {
maxWaitTimeSeconds: 5
maxWaitTimeInMs: 5000
});
if (!messages.length) {
console.log("No more messages to receive");
Expand Down

0 comments on commit 7f8aa53

Please sign in to comment.