Skip to content

Commit 2ad74f2

Browse files
committed
fix wrong polling time
1 parent 4b7d6a5 commit 2ad74f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/analysisPoller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ exports.do = async function (
197197
console.log(`polling interval: ${humanizeDuration(pollStep)}, previous status: ${status}`)
198198
}
199199

200-
await util.timer(Math.min(pollStep, start + remainTime - Date.now()))
200+
await util.timer(Math.min(pollStep, start + timeout - Date.now()))
201201
}
202202

203203
let statusResponse

0 commit comments

Comments
 (0)