increase timeout to 3 seconds

This commit is contained in:
Proddy
2023-07-03 09:59:12 +02:00
parent 7086358ebc
commit 36f88c772f

View File

@@ -11,7 +11,7 @@ export const EVENT_SOURCE_ROOT = 'http://' + host + '/es/';
export const alovaInstance = createAlova({ export const alovaInstance = createAlova({
statesHook: ReactHook, statesHook: ReactHook,
timeout: 2000, // timeout not used because of uploading firmware timeout: 3000, // 3 seconds but throwing a timeout error
localCache: null, localCache: null,
// localCache: { // localCache: {
// GET: { // GET: {