increase timeout

This commit is contained in:
2024-11-20 05:37:36 +02:00
parent 24d681bf70
commit e5292e5108
3 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ window.addEventListener("message", (event) => {
}
});
export const sendMessageBackground = (action, data = {}, timeout = 60000, isExtension, appInfo) => {
export const sendMessageBackground = (action, data = {}, timeout = 120000, 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