Fix run time
This commit is contained in:
@@ -148,6 +148,11 @@ public static class ApiBootstrap
|
||||
options.ConnectionString = postgreSqlConnectionString;
|
||||
options.Invariant = "Npgsql";
|
||||
})
|
||||
.AddAdoNetGrainStorage("platform-summary-store", options =>
|
||||
{
|
||||
options.ConnectionString = postgreSqlConnectionString;
|
||||
options.Invariant = "Npgsql";
|
||||
})
|
||||
.ConfigureServices(services =>
|
||||
{
|
||||
// Register existing services for Orleans DI
|
||||
@@ -173,7 +178,7 @@ public static class ApiBootstrap
|
||||
services.AddScoped<ISettingsService, SettingsService>();
|
||||
services.AddScoped<IUserService, UserService>();
|
||||
services.AddScoped<IGeneticService, GeneticService>();
|
||||
services.AddSingleton<IBotService, BotService>();
|
||||
services.AddScoped<IBotService, BotService>();
|
||||
services.AddScoped<IWorkerService, WorkerService>();
|
||||
services.AddScoped<ISynthPredictionService, SynthPredictionService>();
|
||||
services.AddScoped<ISynthApiClient, SynthApiClient>();
|
||||
|
||||
Reference in New Issue
Block a user