Skip to content

Commit 404d6cc

Browse files
authored
Merge pull request #95 from ConsenSys/bug-fix-timeout-consideration
bug fix: fix wrong polling time
2 parents 4b7d6a5 + 2ad74f2 commit 404d6cc

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)