From 5392eb75365d7906442c2b830de6998df154ba31 Mon Sep 17 00:00:00 2001 From: Tianzi Cai Date: Mon, 19 Nov 2018 13:00:10 -0800 Subject: [PATCH] Pub/Sub: take out outdated comments --- samples/subscriptions.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/samples/subscriptions.js b/samples/subscriptions.js index b65e007ca..d762f87fa 100755 --- a/samples/subscriptions.js +++ b/samples/subscriptions.js @@ -312,9 +312,6 @@ async function synchronousPull(projectName, subscriptionName) { // Send the message to the worker function. worker(message); - // setInterval() checks the worker process every 5 sec. - // If the pre-set ack deadline is n sec, it is best to - // set the interval to be every (n/2) sec. let waiting = true; while (waiting) { await new Promise(r => setTimeout(r, 10000));