mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-18 16:31:57 +03:00
UBERF-8884 Revert datalake to Hyperdrive use (#7437)
This commit is contained in:
parent
9dc36f91c2
commit
b0d1900172
@ -50,7 +50,7 @@ export async function withPostgres<T> (
|
|||||||
fn: (db: BlobDB) => Promise<T>
|
fn: (db: BlobDB) => Promise<T>
|
||||||
): Promise<T> {
|
): Promise<T> {
|
||||||
const sql = metrics.withSync('db.connect', () => {
|
const sql = metrics.withSync('db.connect', () => {
|
||||||
return postgres(env.DB_URL, {
|
return postgres(env.HYPERDRIVE.connectionString, {
|
||||||
connection: {
|
connection: {
|
||||||
application_name: 'datalake'
|
application_name: 'datalake'
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user