work on qm
This commit is contained in:
parent
6082a54d14
commit
5640444c47
9 changed files with 492 additions and 476 deletions
|
|
@ -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'
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue