Commit b2e16fa9 authored by wei.xuan's avatar wei.xuan

feat: timeout

parent 193a696a
...@@ -41,7 +41,7 @@ import ( ...@@ -41,7 +41,7 @@ import (
const ( const (
reconnectInterval = 3e8 // 300ms reconnectInterval = 3e8 // 300ms
connectInterval = 5e8 // 500ms connectInterval = 5e8 // 500ms
connectTimeout = 3e9 connectTimeout = 15e9
maxTimes = 10 maxTimes = 10
) )
......
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