work on qm

This commit is contained in:
Boki 2025-06-29 10:00:29 -04:00
parent 6082a54d14
commit 5640444c47
9 changed files with 492 additions and 476 deletions

View file

@ -196,13 +196,13 @@ export async function scheduleSymbolInfoUpdates(
symbol: doc.symbol,
qmSearchCode: doc.qmSearchCode || doc.symbol
}, {
priority: 3,
// priority: 3,
// Add some delay to avoid overwhelming the API
delay: queued * 1000 // 1 second between jobs
// delay: queued * 1000 // 1 second between jobs
});
// Track that we've scheduled this symbol
await tracker.updateSymbolOperation(doc.symbol, 'symbol_info', {
await tracker.updateSymbolOperation(doc.qmSearchCode, 'symbol_info', {
status: 'success'
});