no retry on newstream error reduce number of retry Signed-off-by: Leo Chen <leo@harmony.one>pull/399/head
parent
22b47dafc0
commit
65d3e56e67
@ -0,0 +1,9 @@ |
||||
package p2p |
||||
|
||||
import "errors" |
||||
|
||||
// Error of host package
|
||||
var ( |
||||
ErrNewStream = errors.New("[HOST]: new stream error") |
||||
ErrMsgWrite = errors.New("[HOST]: send message write error") |
||||
) |
Loading…
Reference in new issue