diff --git a/main.go b/main.go index 6bb866c..ab31a2e 100644 --- a/main.go +++ b/main.go @@ -56,10 +56,8 @@ type Server struct { func main() { // Example DSN: // export DATABASE_URL="postgres://user:pass@localhost:5432/dbname?sslmode=disable" - dsn := getenv("DATABASE_URL") - if dsn == "" { - dsn = "postgresql://boltic_097b913d-c1c0-48f1-9a95-d44308e19981_e124aef0:35d2564f125a4f94@asia-south1.boltic-tables.fcz0.de/rashmi_external_db9_fce9ea6a08db?sslmode=disable" - } + dsn := "postgresql://boltic_097b913d-c1c0-48f1-9a95-d44308e19981_b1e7a586:0df530a88c46a838@asia-south1.boltic-tables.fcz0.de:5432/external_load_testing1_f55745eb56af?sslmode=disable" + // dsn = addDSNParam(dsn, "prefer_simple_protocol", "true") db, err := sqlx.Connect("pgx", dsn)