cvsa/lib/db/init.ts
alikia2x 471a522d05
update: getVideoTags with NetScheduler
improve: extracted PostgreSQL config
2025-02-11 00:37:40 +08:00

7 lines
188 B
TypeScript

import { Pool } from "https://deno.land/x/postgres@v0.19.3/mod.ts";
import {postgresConfig} from "lib/db/pgConfig.ts";
const pool = new Pool(postgresConfig, 32);
export const db = pool;