Commit eeec478a by lanrion

修改rest_client timeout 时间为 5

parent f8c5a52f
...@@ -17,7 +17,7 @@ module WeixinAuthorize ...@@ -17,7 +17,7 @@ module WeixinAuthorize
# key 必须是符号 # key 必须是符号
def rest_client_options def rest_client_options
if config.nil? if config.nil?
return {timeout: 2, open_timeout: 3, verify_ssl: true} return {timeout: 5, open_timeout: 5, verify_ssl: true}
end end
config.rest_client_options config.rest_client_options
end end
......
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