Skip to content

Commit

Permalink
♻️ refactor: updated message #2
Browse files Browse the repository at this point in the history
  • Loading branch information
pnguyen215 committed Nov 29, 2023
1 parent 4bfbd86 commit 87f9e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgresconn/postgresconn.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func NewClient(config postgres.PostgresConfig) (*Postgres, dbx.Dbx) {
client.SetMaxIdleConns(config.MaxIdleConn)
client.SetMaxOpenConns(config.MaxOpenConn)
instance = NewPostgres().SetConn(client)
s.SetConnected(true).SetMessage("Connection successfully").SetNewInstance(true).SetPid(os.Getpid())
s.SetConnected(true).SetMessage("Connected successfully").SetNewInstance(true).SetPid(os.Getpid())
if config.DebugMode {
callback.MeasureTime(func() {
pid, err := GetPidConn(instance)
Expand Down

0 comments on commit 87f9e36

Please sign in to comment.