Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/tidb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (c *Client) OpenSQLConn(user string, pass string) (*gorm.DB, error) {
dsnConfig.Addr = addr
dsnConfig.User = user
dsnConfig.Passwd = pass
dsnConfig.Timeout = time.Second
dsnConfig.Timeout = time.Second * 60
dsnConfig.ParseTime = true
dsnConfig.Loc = time.Local
dsnConfig.MultiStatements = true
Expand Down