diff --git a/src/atlas-download/atlas-download.directive.ts b/src/atlas-download/atlas-download.directive.ts index 03629a5e09e189e09397b833840cee1b8093ce3a..decd733b019b607892db5c1827dedd3bc830705d 100644 --- a/src/atlas-download/atlas-download.directive.ts +++ b/src/atlas-download/atlas-download.directive.ts @@ -51,6 +51,7 @@ export class AtlasDownloadDirective { throw new Error(`Task id not found`) } const pingUrl = new URL(`${endpoint}/atlas_download/${task_id}`) + // eslint-disable-next-line no-constant-condition while (true) { await wait(320) const resp = await fetch(pingUrl)