feat: 数据库超时时间设置

This commit is contained in:
meilin.huang
2023-11-30 15:02:48 +08:00
parent 070c8ac0da
commit b347bd7ef5
5 changed files with 10 additions and 8 deletions

View File

@@ -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