Bundle from worker to grain

This commit is contained in:
2025-09-15 12:56:59 +07:00
parent 77e6ce0789
commit 63bc7bbe59
19 changed files with 2112 additions and 79 deletions

View File

@@ -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;
}