refactor(orchestrator): narrow historical storage to reads (CL17)
This commit is contained in:
parent
03518c8ae4
commit
984dc1a9cc
17 changed files with 88 additions and 232 deletions
|
|
@ -33,7 +33,7 @@ export function createDatasetRoutes(container: IServiceContainer) {
|
|||
try {
|
||||
const body = await readBody(c.req.raw);
|
||||
// Request-local read adapter: no initialization, mode changes or shared trading runtime.
|
||||
const storage = new StorageService(container, container.mongodb, null, null);
|
||||
const storage = new StorageService(container.logger, container.mongodb, null);
|
||||
const prepared = await prepareStoredDataset(body, storage, c.req.raw.signal);
|
||||
c.req.raw.signal.throwIfAborted();
|
||||
return c.json(prepared);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue