work on ceo
This commit is contained in:
parent
c8dcd697c9
commit
b25222778e
18 changed files with 391 additions and 110 deletions
|
|
@ -1,10 +1,10 @@
|
|||
/**
|
||||
* Market data routes
|
||||
*/
|
||||
import { Hono } from 'hono';
|
||||
import type { IServiceContainer } from '@stock-bot/handlers';
|
||||
import { getLogger } from '@stock-bot/logger';
|
||||
import { processItems } from '@stock-bot/queue';
|
||||
import { Hono } from 'hono';
|
||||
|
||||
const logger = getLogger('market-data-routes');
|
||||
|
||||
|
|
@ -122,8 +122,8 @@ export function createMarketDataRoutes(container: IServiceContainer) {
|
|||
batchSize,
|
||||
priority: 2,
|
||||
retries: 2,
|
||||
removeOnComplete: 5,
|
||||
removeOnFail: 10,
|
||||
removeOnComplete: 100,
|
||||
removeOnFail: 100,
|
||||
},
|
||||
queueManager
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue