From 36f88c772f82a8dad100fa95e35c82100a64f230 Mon Sep 17 00:00:00 2001 From: Proddy Date: Mon, 3 Jul 2023 09:59:12 +0200 Subject: [PATCH] increase timeout to 3 seconds --- interface/src/api/endpoints.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/api/endpoints.ts b/interface/src/api/endpoints.ts index c515135b6..4af25b940 100644 --- a/interface/src/api/endpoints.ts +++ b/interface/src/api/endpoints.ts @@ -11,7 +11,7 @@ export const EVENT_SOURCE_ROOT = 'http://' + host + '/es/'; export const alovaInstance = createAlova({ statesHook: ReactHook, - timeout: 2000, // timeout not used because of uploading firmware + timeout: 3000, // 3 seconds but throwing a timeout error localCache: null, // localCache: { // GET: {