Commit 5b86e25b authored by nanahira's avatar nanahira

dec timeout

parent 80723e05
Pipeline #6509 failed with stages
in 5 minutes and 50 seconds
......@@ -2266,7 +2266,7 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)->
#console.log(userUrl)
userDataRes = await axios.get userUrl,
responseType: 'json'
timeout: 10000
timeout: 4000
params:
api_key: settings.modules.mycard.auth_key,
api_username: client.name,
......
......@@ -2992,7 +2992,7 @@
//console.log(userUrl)
userDataRes = (await axios.get(userUrl, {
responseType: 'json',
timeout: 10000,
timeout: 4000,
params: {
api_key: settings.modules.mycard.auth_key,
api_username: client.name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment