浏览代码

fix(syncing-server): increase axios timeout on calling auth

Karol Sójko 1 年之前
父节点
当前提交
eafb064d79
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/syncing-server/src/Infra/HTTP/AuthHttpService.ts

+ 1 - 0
packages/syncing-server/src/Infra/HTTP/AuthHttpService.ts

@@ -12,6 +12,7 @@ export class AuthHttpService implements AuthHttpServiceInterface {
   async getUserKeyParams(dto: { email?: string; uuid?: string; authenticated: boolean }): Promise<KeyParamsData> {
     const keyParamsResponse = await this.httpClient.request({
       method: 'GET',
+      timeout: 10000,
       headers: {
         Accept: 'application/json',
       },