mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
remove timeout
This commit is contained in:
@@ -8,7 +8,7 @@ export const ACCESS_TOKEN = 'access_token';
|
|||||||
|
|
||||||
export const alovaInstance = createAlova({
|
export const alovaInstance = createAlova({
|
||||||
statesHook: ReactHook,
|
statesHook: ReactHook,
|
||||||
timeout: 3000, // 3 seconds before throwing a timeout error
|
// timeout: 3000, // 3 seconds before throwing a timeout error, default is 0 = none
|
||||||
cacheFor: null, // disable cache
|
cacheFor: null, // disable cache
|
||||||
// cacheFor: {
|
// cacheFor: {
|
||||||
// GET: {
|
// GET: {
|
||||||
|
|||||||
Reference in New Issue
Block a user