Commit c1cd0409 authored by nanahira's avatar nanahira

match permit timeout

parent 144b5189
......@@ -2212,6 +2212,7 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)->
try
match_permit = await axios.get settings.modules.arena_mode.check_permit,
responseType: 'json'
timeout: 3000
catch e
log.warn "match permit fail #{e.toString()}"
if match_permit and match_permit.permit == false
......
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