mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
increase timeout to 3 seconds
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user