added logging

This commit is contained in:
Boki 2025-06-23 14:36:47 -04:00
parent d76f0ff5ff
commit 5c87f068d6
10 changed files with 38 additions and 16 deletions

View file

@ -98,7 +98,7 @@ export async function processIndividualSymbol(
await this.scheduleOperation('process-individual-symbol', {
ceoId: ceoId,
timestamp: latestSpielTime,
}, {priority: 1});
}, {priority: 0});
}
this.logger.info(

View file

@ -34,7 +34,7 @@ export async function updateUniqueSymbols(
await this.scheduleOperation('process-individual-symbol', {
ceoId: symbol.ceoId,
symbol: symbol.symbol,
});
}, {priority: 10 });
scheduledJobs++;
// Add small delay to avoid overwhelming the queue

View file

@ -16,6 +16,9 @@ import { createRoutes } from './routes/create-routes';
// Initialize configuration with service-specific overrides
const config = initializeStockConfig('dataIngestion');
// Log the full configuration
const logger = getLogger('data-ingestion');
logger.info('Service configuration:', config);
// Create service application
const app = new ServiceApplication(