mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
fix(auth) Increment timeout for requests that initiate imap connections
This commit is contained in:
parent
27be619642
commit
9c782bd479
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,7 @@ export async function authIMAPForGmail(tokenData) {
|
|||
path: `/auth`,
|
||||
method: 'POST',
|
||||
auth: NO_AUTH,
|
||||
timeout: 30 * 1000,
|
||||
body: {
|
||||
email: tokenData.email_address,
|
||||
name: tokenData.name,
|
||||
|
@ -131,6 +132,7 @@ export function runAuthRequest(accountInfo) {
|
|||
options: {
|
||||
path: '/auth',
|
||||
method: 'POST',
|
||||
timeout: 30 * 1000,
|
||||
body: data,
|
||||
auth: noauth,
|
||||
returnsModel: false,
|
||||
|
@ -142,6 +144,7 @@ export function runAuthRequest(accountInfo) {
|
|||
options: {
|
||||
path: `/auth`,
|
||||
method: 'POST',
|
||||
timeout: 30 * 1000,
|
||||
body: data,
|
||||
auth: noauth,
|
||||
returnsModel: false,
|
||||
|
|
Loading…
Reference in a new issue