File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ class Auth {
108
108
headers : { 'content-type' : 'application/x-www-form-urlencoded' } ,
109
109
payload,
110
110
isPublic : true ,
111
- timeout : 2000 ,
112
- deadline : 4000
111
+ response : 10000 ,
112
+ deadline : 15000
113
113
}
114
114
) . catch ( error => {
115
115
if ( error . status === 400 && grantType === 'refresh_token' ) {
@@ -166,7 +166,7 @@ class Auth {
166
166
headers : { } ,
167
167
isPublic : false ,
168
168
cache : false ,
169
- timeout : 60000 ,
169
+ response : 60000 ,
170
170
deadline : 90000 ,
171
171
error : { }
172
172
} ,
@@ -208,7 +208,7 @@ class Auth {
208
208
( { status, body } = await superagent ( method , url )
209
209
. set ( opts . headers )
210
210
. timeout ( {
211
- response : opts . timeout ,
211
+ response : opts . response ,
212
212
deadline : opts . deadline
213
213
} )
214
214
. query ( opts . query )
You can’t perform that action at this time.
0 commit comments