mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
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:
parent
880da0feaf
commit
73509d865d
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user