console: add missing variable in useDatabaseLatencyCheck

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8611
GitOrigin-RevId: e582afe1f8ebe3aacc341464ea9b78622ffff85d
This commit is contained in:
Vijay Prasanna 2023-04-04 13:47:56 +05:30 committed by hasura-bot
parent 880da0feaf
commit 73509d865d

View File

@ -45,7 +45,7 @@ async function poll<ReturnType>(
let iterCount = 0;
let result = await fn();
while (fnCondition(result) && iterCount < maxPollNumber) {
await wait(ms);
await wait(waitMs);
result = await fn();
iterCount++;
}