moving to postgres, part 1

This commit is contained in:
2025-09-17 17:51:22 +02:00
parent 8f87908505
commit 223add151c
19 changed files with 425 additions and 290 deletions

View File

@@ -1,11 +1,9 @@
import pocketbase from "db/connection";
import { RedisClient } from "bun";
import logger from "lib/logger";
export async function connectionCheck() {
let pbstatus = false;
try {
await pocketbase.health.check().then(a => a.code === 200);
pbstatus = true;
} catch { };
const tempclient = new RedisClient(undefined, {