mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08: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:
parent
b81d175145
commit
71bf9cb9c0
|
@ -362,7 +362,7 @@ export class EmailReadImap implements INodeType {
|
||||||
host: credentials.host as string,
|
host: credentials.host as string,
|
||||||
port: credentials.port as number,
|
port: credentials.port as number,
|
||||||
tls: credentials.secure as boolean,
|
tls: credentials.secure as boolean,
|
||||||
authTimeout: 3000,
|
authTimeout: 10000,
|
||||||
},
|
},
|
||||||
onmail: async () => {
|
onmail: async () => {
|
||||||
const returnData = await getNewEmails(connection, searchCriteria);
|
const returnData = await getNewEmails(connection, searchCriteria);
|
||||||
|
|
Loading…
Reference in a new issue