huge refactor done

This commit is contained in:
Boki 2025-06-24 11:59:35 -04:00
parent 843a7b9b9b
commit 60d7de1da8
16 changed files with 472 additions and 443 deletions

22
test-queue.ts Normal file
View file

@ -0,0 +1,22 @@
import { Queue } from 'bullmq';
const queue = new Queue('{data-ingestion_ceo}', {
connection: {
host: 'localhost',
port: 6379,
db: 0,
},
});
async function testJob() {
const job = await queue.add('fetchCompany', {
handler: 'ceo',
operation: 'fetchCompany',
payload: { symbol: 'AAPL' },
});
console.log('Job added:', job.id);
process.exit(0);
}
testJob().catch(console.error);