mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Increase timeout to IMAP node. (#1178)
Yahoo mail is unable to provide a response in under 3 seconds. Increasing this limit to 10 seconds seems to solve the timeout issue. I was unable to properly login to Yahoo but at least the timeout error is not happening anymore. Setting the node to work with Gmail worked fine although it is a somewhat painful process as Gmail avoids the so called non secure apps.
This commit is contained in:
@@ -362,7 +362,7 @@ export class EmailReadImap implements INodeType {
|
||||
host: credentials.host as string,
|
||||
port: credentials.port as number,
|
||||
tls: credentials.secure as boolean,
|
||||
authTimeout: 3000,
|
||||
authTimeout: 10000,
|
||||
},
|
||||
onmail: async () => {
|
||||
const returnData = await getNewEmails(connection, searchCriteria);
|
||||
|
||||
Reference in New Issue
Block a user