Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Sella-GH committed Jan 26, 2025
1 parent d975d0a commit bc56e6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void AzzyBotDataServices(this IServiceCollection services, string
#if DEBUG || DOCKER_DEBUG
services.AddPooledDbContextFactory<AzzyDbContext>(o => o.UseNpgsql(connectionString).UseExceptionProcessor().EnableSensitiveDataLogging(true));
#else
services.AddDbContext<AzzyDbContext>(o => o.UseNpgsql(connectionString).UseExceptionProcessor());
services.AddPooledDbContextFactory<AzzyDbContext>(o => o.UseNpgsql(connectionString).UseExceptionProcessor());
#endif
services.AddSingleton<DbActions>();
services.AddSingleton<DbMaintenance>();
Expand Down

0 comments on commit bc56e6b

Please sign in to comment.