From 265e1c934b6528cf2dcbdc2434d20e94025d9078 Mon Sep 17 00:00:00 2001 From: Claude VM Date: Tue, 21 Apr 2026 23:34:47 +0300 Subject: [PATCH] chore(parcel-sync): disable auto-refresh scheduler during GIS DB overhaul Prevents nightly delta sync (Mon-Fri 01-05) and weekend deep sync (Fri-Sun 23-04) from writing to GisFeature/GisUat while the schema is being reworked. Re-enable by uncommenting the import in src/instrumentation.ts once the new DB layout is stable. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/instrumentation.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/instrumentation.ts b/src/instrumentation.ts index 56add70..f242e4e 100644 --- a/src/instrumentation.ts +++ b/src/instrumentation.ts @@ -5,7 +5,8 @@ export async function register() { // Only run on the server (not during build or in edge runtime) if (process.env.NEXT_RUNTIME === "nodejs") { - // Start the ParcelSync auto-refresh scheduler (side-effect import) - await import("@/modules/parcel-sync/services/auto-refresh-scheduler"); + // ParcelSync auto-refresh scheduler DISABLED during GIS DB overhaul. + // Re-enable by uncommenting the import below once the new schema is stable. + // await import("@/modules/parcel-sync/services/auto-refresh-scheduler"); } }