Bundle from worker to grain
This commit is contained in:
@@ -501,10 +501,12 @@ public static class ApiBootstrap
|
||||
services.AddHostedService<GeneticAlgorithmWorker>();
|
||||
}
|
||||
|
||||
if (configuration.GetValue<bool>("WorkerBundleBacktest", false))
|
||||
{
|
||||
services.AddHostedService<BundleBacktestWorker>();
|
||||
}
|
||||
// DEPRECATED: BundleBacktestWorker has been replaced by BundleBacktestGrain
|
||||
// Bundle backtest processing is now handled by Orleans grain triggered directly from Backtester.cs
|
||||
// if (configuration.GetValue<bool>("WorkerBundleBacktest", false))
|
||||
// {
|
||||
// services.AddHostedService<BundleBacktestWorker>();
|
||||
// }
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user