Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
456vv committed Jan 18, 2022
1 parent 3ae6981 commit 4860f6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion l2l.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,10 @@ type L2L struct {
used atomicBool // 正在使用
}
func (T *L2L) init(){

//保持一个连接在池中
if T.KeptIdeConn == 0 {
T.KeptIdeConn=1
}
T.acp.IdeConn=T.KeptIdeConn
T.bcp.IdeConn=T.KeptIdeConn

Expand Down

0 comments on commit 4860f6b

Please sign in to comment.