Fix pg application name (#7087)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2024-11-02 21:30:53 +05:00 committed by GitHub
parent c190b1c079
commit 13c0005695
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -182,8 +182,9 @@ export function getDBClient (connectionString: string, database?: string): Postg
if (existing === undefined) {
const sql = postgres(connectionString, {
connectionString,
application_name: 'transactor',
connection: {
application_name: 'transactor'
},
database,
max: 10,
transform: {