Skip to content

Open-source status page, incident response and uptime monitoring

chore: bring back local replication (#1668)

Thibault Le Ouayd7475c5636fa
diff --git a/apps/workflows/src/cron/checker.ts b/apps/workflows/src/cron/checker.ts
index cb6f0562b..8772bccfd 100644
--- a/apps/workflows/src/cron/checker.ts
+++ b/apps/workflows/src/cron/checker.ts
@@ -2,7 +2,7 @@ import { CloudTasksClient } from "@google-cloud/tasks";
import type { google } from "@google-cloud/tasks/build/protos/protos";
import { z } from "zod";
-import { and, db, eq, gte, lte, notInArray } from "@openstatus/db";
+import { and, eq, gte, lte, notInArray } from "@openstatus/db";
import {
type MonitorStatus,
maintenance,
@@ -14,7 +14,7 @@ import {
} from "@openstatus/db/src/schema";
import type { Region } from "@openstatus/db/src/schema/constants";
import { regionDict } from "@openstatus/regions";
-// import { db } from "../lib/db";
+import { db } from "../lib/db";
import { getSentry } from "@hono/sentry";
import { getLogger } from "@logtape/logtape";