fix(temporal): drop MySQL-only tx_isolation connectAttribute — Postgres pq driver rejected it, killing all DB connections (schema job + server) with 'no usable database connection found'

This commit is contained in:
Story Crater Bot
2026-07-21 22:02:07 -07:00
parent 46ec0caf5d
commit 01a310d13f
@@ -107,8 +107,12 @@ server:
maxConns: 20 maxConns: 20
maxIdleConns: 10 maxIdleConns: 10
maxConnLifetime: "1h" maxConnLifetime: "1h"
connectAttributes: # NOTE: no `connectAttributes: { tx_isolation: ... }` here — tx_isolation
tx_isolation: "READ-COMMITTED" # is a MySQL-only connection parameter. The Postgres `pq` driver rejects
# it ("unrecognized configuration parameter"), which killed every DB
# connection (schema-setup job AND server) with the misleading
# "no usable database connection found". Postgres defaults to READ
# COMMITTED isolation anyway, so nothing is lost by omitting it.
visibility: visibility:
driver: "sql" driver: "sql"
sql: sql: