[object Object]

← back to Vendor Recrawl Dispatcher

TK-11438: migrate pg fallback to unix socket (?host=/tmp) — local+reversible

cef3bc4d5acd47341170c70edc81ff2f18babf5b · 2026-09-17 16:59:47 -0700 · Steve Abrams

Files touched

Diff

commit cef3bc4d5acd47341170c70edc81ff2f18babf5b
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Sep 17 16:59:47 2026 -0700

    TK-11438: migrate pg fallback to unix socket (?host=/tmp) — local+reversible
---
 lib/db.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/db.js b/lib/db.js
index 3d17b22..35f4265 100644
--- a/lib/db.js
+++ b/lib/db.js
@@ -14,7 +14,7 @@ function loadDbUrl() {
     if (m) return m[1].trim();
   } catch (_) { /* fall through */ }
   // trust-auth fallback (verified: local dw_admin needs no password)
-  return 'postgresql://dw_admin@127.0.0.1:5432/dw_unified';
+  return 'postgresql://dw_admin@localhost/dw_unified?host=/tmp';
 }
 
 const pool = new Pool({

← 0dc0526 DTD Option C: generic product_url refresher (fetch HTML free  ·  back to Vendor Recrawl Dispatcher  ·  auto-data-snapshot: 2026-09-17T17:25:36 (1 data files) — lib 915e3f9 →