From 50d1b4d8241444773b2cddb1e4bc2f08838dc7d5 Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Mon, 10 May 2021 11:05:53 +0000 Subject: [PATCH] fix: increasing timeout, closes #657 --- src/SASViyaApiClient.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SASViyaApiClient.ts b/src/SASViyaApiClient.ts index 5150524..d2dea33 100644 --- a/src/SASViyaApiClient.ts +++ b/src/SASViyaApiClient.ts @@ -1103,7 +1103,7 @@ export class SASViyaApiClient { const { result: state } = await this.requestClient .get( - `${this.serverUrl}${stateLink.href}?_action=wait&wait=30`, + `${this.serverUrl}${stateLink.href}?_action=wait&wait=300`, accessToken, 'text/plain', {}, @@ -1130,7 +1130,7 @@ export class SASViyaApiClient { if (stateLink) { const { result: jobState } = await this.requestClient .get( - `${this.serverUrl}${stateLink.href}?_action=wait&wait=30`, + `${this.serverUrl}${stateLink.href}?_action=wait&wait=300`, accessToken, 'text/plain', {},