From 527adf6aba20f05efb85729f27db4df327900d68 Mon Sep 17 00:00:00 2001 From: anujsahu Date: Mon, 2 Feb 2026 14:02:33 +0530 Subject: [PATCH] lt-1_up --- main.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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)