mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 08:52:10 +01:00
DB refactor
This commit is contained in:
17
test-import-processing.ts
Normal file
17
test-import-processing.ts
Normal file
@ -0,0 +1,17 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user