This commit is contained in:
Amruth Pillai
2026-04-02 00:14:54 +02:00
parent d9a24448e8
commit 4fd43657dc
175 changed files with 11886 additions and 1840 deletions
+2 -4
View File
@@ -192,8 +192,7 @@ export async function migrateResumes() {
process.exit(0);
};
process.on("SIGINT", handleShutdown);
process.on("SIGTERM", handleShutdown);
process.on("exit", handleShutdown);
// Initialize the importer
const importer = new ReactiveResumeV4JSONImporter();
@@ -465,8 +464,7 @@ export async function migrateResumes() {
}
// Remove signal handlers
process.off("SIGINT", handleShutdown);
process.off("SIGTERM", handleShutdown);
process.off("exit", handleShutdown);
const migrationEnd = performance.now();
const migrationDurationMs = migrationEnd - migrationStart;
+2 -4
View File
@@ -186,8 +186,7 @@ export async function migrateUsers() {
process.exit(0);
};
process.on("SIGINT", handleShutdown);
process.on("SIGTERM", handleShutdown);
process.on("exit", handleShutdown);
while (hasMore) {
// Check if shutdown was requested
@@ -409,8 +408,7 @@ export async function migrateUsers() {
}
// Remove signal handlers
process.off("SIGINT", handleShutdown);
process.off("SIGTERM", handleShutdown);
process.off("exit", handleShutdown);
const migrationEnd = performance.now();
const migrationDurationMs = migrationEnd - migrationStart;