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
|
|
@ -104,7 +104,7 @@ describe.skipIf(!url)('strategy recovery on real PostgreSQL', () => {
|
|||
await prior.shutdown();
|
||||
await original.execution.enqueueMarketData(quote('two', 100, 100, start + 1));
|
||||
const services: OrchestratorServices = { logger, postgres: f.postgres };
|
||||
const storage = new StorageService(services, null, f.postgres, null);
|
||||
const storage = new StorageService(services.logger, null, null);
|
||||
const execution = new ExecutionService(services, storage, { clock: f.getTime });
|
||||
let feedStarted = false;
|
||||
class OfflineMarket extends MarketDataService {
|
||||
|
|
@ -130,7 +130,6 @@ describe.skipIf(!url)('strategy recovery on real PostgreSQL', () => {
|
|||
logger,
|
||||
marketData: market,
|
||||
execution,
|
||||
storage,
|
||||
strategies: manager,
|
||||
});
|
||||
cleanup.push(() => mode.shutdown());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue