1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-04 11:10:05 +00:00

chore(*): reduce max error count

This commit is contained in:
Krishna Acondy
2021-05-11 10:23:47 +01:00
parent 67ec27bab7
commit 8f3a7f33f8

View File

@@ -1078,7 +1078,7 @@ export class SASViyaApiClient {
) {
let POLL_INTERVAL = 300
let MAX_POLL_COUNT = 1000
let MAX_ERROR_COUNT = 10
let MAX_ERROR_COUNT = 5
if (pollOptions) {
POLL_INTERVAL = pollOptions.POLL_INTERVAL || POLL_INTERVAL