commit bdfa9186ab8e3b92cb92e9887a6779035a171d3b parent aaa2bec58d20c88970d0166984d6d3e222b00f11 Author: Joel-Haeberli <haebu@rubigen.ch> Date: Sat, 18 May 2024 11:32:00 +0200 fix: listener connection Diffstat:
| M | c2ec/db-postgres.go | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/c2ec/db-postgres.go b/c2ec/db-postgres.go @@ -847,11 +847,11 @@ func (db *C2ECPostgres) NewListener( ) (func(context.Context) error, error) { connectionString := PostgresConnectionString(&CONFIG.Database) - pgHost := os.Getenv("PGHOST") - if pgHost != "" { - LogInfo("postgres", "pghost was set") - connectionString = pgHost - } + // pgHost := os.Getenv("PGHOST") + // if pgHost != "" { + // LogInfo("postgres", "pghost was set") + // connectionString = pgHost + // } cfg, err := pgx.ParseConfig(connectionString) if err != nil {