mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-06 22:55:46 +08:00
fix: ssh tunnel检测导致死锁问题调整
This commit is contained in:
@@ -17,7 +17,7 @@ func init() {
|
||||
if v.Stats().TotalConns == 0 {
|
||||
continue // 连接池中没有连接,跳过
|
||||
}
|
||||
conn, err := v.Get(context.Background())
|
||||
conn, err := v.Get(context.Background(), pool.WithNoUpdateLastActive())
|
||||
if err != nil {
|
||||
continue // 获取连接失败,跳过
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user