finishing prices

This commit is contained in:
Boki 2025-07-13 09:51:01 -04:00
parent f196c5dcf4
commit d68268b722
3 changed files with 3 additions and 4 deletions

View file

@ -15,7 +15,7 @@ export async function scheduleFetchPrices(
// Use OperationTracker to find stale symbols
const staleSymbols = await this.operationRegistry.getStaleSymbols('eod', 'price_update', {
limit: 14000 // Higher limit to process all symbols
limit: 100000 // Higher limit to process all symbols
});
if (!staleSymbols || staleSymbols.length === 0) {

View file

@ -34,7 +34,7 @@ import { createEODOperationRegistry } from './shared';
@Handler('eod')
@RateLimit({
limits: [
{ points: 1000, duration: 60 }, // 1000 points per minute
{ points: 500, duration: 60 }, // 1000 points per minute
{ points: 100500, duration: 86400 }, // 100,500 points per day
],
})