mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
updating docs and helm charts for postgres
This commit is contained in:
@@ -26,7 +26,7 @@ var PG_FUNCTIONS = map[string]interface{}{
|
||||
func getPGConnString() string {
|
||||
pgconf := servercfg.GetSQLConf()
|
||||
pgConn := fmt.Sprintf("host=%s port=%d user=%s "+
|
||||
"password=%s dbname=%s sslmode=%s",
|
||||
"password=%s dbname=%s sslmode=%s connect_timeout=5",
|
||||
pgconf.Host, pgconf.Port, pgconf.Username, pgconf.Password, pgconf.DB, pgconf.SSLMode)
|
||||
return pgConn
|
||||
}
|
||||
|
Reference in New Issue
Block a user