pagination for backtest and optimization
This commit is contained in:
@@ -149,6 +149,13 @@ public static class ApiBootstrap
|
||||
services.AddTransient<ICacheService, CacheService>();
|
||||
services.AddSingleton<ITaskCache, TaskCache>();
|
||||
|
||||
// Index Service
|
||||
services.AddSingleton<IndexService>();
|
||||
|
||||
// Services
|
||||
services.AddTransient<ICacheService, CacheService>();
|
||||
services.AddSingleton<ITaskCache, TaskCache>();
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
|
||||
@@ -181,6 +181,9 @@ public static class WorkersBootstrap
|
||||
services.AddTransient<ICacheService, CacheService>();
|
||||
services.AddTransient<ITaskCache, TaskCache>();
|
||||
|
||||
// Index Service
|
||||
services.AddSingleton<IndexService>();
|
||||
|
||||
// Processors
|
||||
services.AddTransient<IExchangeProcessor, EvmProcessor>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user