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) <noreply@anthropic.com>
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user