Files
livedash-node/test-import-processing.ts
Max Kowalski 2dfc49f840 DB refactor
2025-06-27 23:05:46 +02:00

18 lines
446 B
TypeScript

import { processQueuedImports } from './lib/importProcessor';
async function testImportProcessing() {
console.log('=== TESTING IMPORT PROCESSING ===\n');
try {
// Process with batch size of 50 to test multiple batches
await processQueuedImports(50);
console.log('\n=== IMPORT PROCESSING COMPLETED ===');
} catch (error) {
console.error('Error during import processing:', error);
}
}
testImportProcessing();