mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-03-15 04:12:32 +00:00
increase overall timeout
This commit is contained in:
parent
50e3c32d4b
commit
71681ac27b
@ -24,7 +24,7 @@ window.addEventListener("message", (event) => {
|
||||
}
|
||||
});
|
||||
|
||||
export const sendMessageBackground = (action, data = {}, timeout = 120000, isExtension, appInfo) => {
|
||||
export const sendMessageBackground = (action, data = {}, timeout = 180000, isExtension, appInfo) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
const requestId = generateRequestId(); // Unique ID for each request
|
||||
callbackMap.set(requestId, { resolve, reject }); // Store both resolve and reject callbacks
|
||||
|
Loading…
x
Reference in New Issue
Block a user