From 1d841663786d27028a5b19e363758fe5e8bdeca8 Mon Sep 17 00:00:00 2001 From: Richard Park <51494936+richardpark-msft@users.noreply.github.com> Date: Wed, 23 Sep 2020 16:06:39 -0700 Subject: [PATCH] [service-bus] Fixing broken option - we renamed it to maxWaitTimeInMs a few previews back. (#11410) --- .../service-bus/samples/javascript/receiveMessagesLoop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/servicebus/service-bus/samples/javascript/receiveMessagesLoop.js b/sdk/servicebus/service-bus/samples/javascript/receiveMessagesLoop.js index e5b941cfe5f5..880029da590b 100644 --- a/sdk/servicebus/service-bus/samples/javascript/receiveMessagesLoop.js +++ b/sdk/servicebus/service-bus/samples/javascript/receiveMessagesLoop.js @@ -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");