fix: increased timeout for extension user prompt

This commit is contained in:
Davinci 2024-05-13 07:50:32 +02:00
parent 5d6a3580a6
commit 2c2eeba83f

View File

@ -88,7 +88,7 @@ export const sendDM = async (
const timeoutPromise = new Promise<never>((_, reject) => { const timeoutPromise = new Promise<never>((_, reject) => {
setTimeout(() => { setTimeout(() => {
reject(new Error('Timeout occurred')) reject(new Error('Timeout occurred'))
}, 15000) // Timeout duration = 15 seconds }, 60000) // Timeout duration = 60 seconds
}) })
// Encrypt the DM content, with timeout // Encrypt the DM content, with timeout