mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 23:22:09 +08:00
减少自定义源请求超时时间
This commit is contained in:
parent
74554ab088
commit
f032eed94f
@ -26,7 +26,7 @@ export default async(setting: LX.AppSetting) => {
|
|||||||
if (!target) return
|
if (!target) return
|
||||||
requestQueue.delete(data.requestKey)
|
requestQueue.delete(data.requestKey)
|
||||||
target.reject(new Error('request timeout'))
|
target.reject(new Error('request timeout'))
|
||||||
}, 30_000),
|
}, 25_000),
|
||||||
})
|
})
|
||||||
sendAction('request', data)
|
sendAction('request', data)
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user