fix(auth) Increment timeout for requests that initiate imap connections

This commit is contained in:
Juan Tejada 2017-01-19 16:06:37 -08:00
parent 27be619642
commit 9c782bd479

View file

@ -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,