- 缺省超时设为30秒
This commit is contained in:
@@ -17,7 +17,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
DefClientTimeout = 15 * time.Second
|
DefClientTimeout = 30 * time.Second
|
||||||
DefSleepSecondWhenExceedLimit = 3 * time.Second
|
DefSleepSecondWhenExceedLimit = 3 * time.Second
|
||||||
DefMaxRecoverableRetryCount = 1
|
DefMaxRecoverableRetryCount = 1
|
||||||
DefMaxExceedLimitRetryCount = 25
|
DefMaxExceedLimitRetryCount = 25
|
||||||
|
|||||||
Reference in New Issue
Block a user