commit | 3880cf48558e68ebad80df6d307a1f3be37d7406 | [log] [tgz] |
---|---|---|
author | Tang Cheng <cheng.tang@supwisdom.com> | 周五 1月 11 08:59:34 2019 +0800 |
committer | Tang Cheng <cheng.tang@supwisdom.com> | 周五 1月 11 08:59:34 2019 +0800 |
tree | e9bceb7835fc63c61853299ca33cf7350cc6c62c | |
parent | cb9f8781684d72dd81b2b18e94a38754cd2daaa3 [diff] |
修改设置connection timeout的bug
diff --git a/webservice.go b/webservice.go index d58b8f6..e2819bf 100644 --- a/webservice.go +++ b/webservice.go
@@ -372,6 +372,7 @@ // SetConnectionTimeout set global connection timeout func SetConnectionTimeout(ms int) { connectionTimeout = time.Duration(ms) * time.Millisecond + goreq.SetConnectTimeout(connectionTimeout) } // CallService2 call epay service