Skip to content

Commit 6accc4d

Browse files
committed
Allow 100ms to 24h pool delay
1 parent 0013fc8 commit 6accc4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/BulkDataClient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ class BulkDataClient extends EventEmitter
478478
retryAfterMSec = Math.ceil(d.getTime() - now)
479479
}
480480

481-
const poolDelay = Math.min(Math.max(retryAfterMSec/10, 1000), 10000)
481+
const poolDelay = Math.min(Math.max(retryAfterMSec, 100), 1000*60*60*24)
482482

483483
Object.assign(status, {
484484
percentComplete: isNaN(progressPct) ? -1 : progressPct,

0 commit comments

Comments
 (0)