Skip to content

Commit 43a54e7

Browse files
committed
fix: resolve conflict
1 parent 38d1e21 commit 43a54e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/services/cloning/mode_base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ func hasNotQueryActivity(session *resources.Session) (bool, error) {
586586
}
587587

588588
func getSocketConnStr(session *resources.Session) string {
589-
return fmt.Sprintf("host=%s user=%s port=%d dbname=%s", session.SocketHost, session.User, session.Port, defaultDatabaseName)
589+
return fmt.Sprintf("host=%s user=%s port=%d dbname=postgres", session.SocketHost, session.User, session.Port)
590590
}
591591

592592
// checkActiveQueryNotExists runs query to check a user activity.

0 commit comments

Comments
 (0)