mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-04 21:55:48 +08:00
feat: 数据库超时时间设置
This commit is contained in:
@@ -26,7 +26,7 @@ func (c *WrapSshConn) RemoteAddr() net.Addr {
|
||||
return c.Conn.RemoteAddr()
|
||||
}
|
||||
func (c *WrapSshConn) SetDeadline(t time.Time) error {
|
||||
return c.Conn.SetDeadline(t)
|
||||
return nil
|
||||
}
|
||||
func (c *WrapSshConn) SetReadDeadline(t time.Time) error {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user