Skip to content

Commit

Permalink
add nats streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
0xF6 committed Nov 23, 2024
1 parent 54b7559 commit 2579c5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Argon.Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using Argon.Api.Features.Env;
using Argon.Api.Features.Jwt;
using Argon.Api.Features.MediaStorage;
using Argon.Api.Features.OrleansStreamingProviders;
using Argon.Api.Features.Otp;
using Argon.Api.Features.Pex;
using Argon.Api.Features.Repositories;
Expand All @@ -27,6 +28,7 @@
builder.AddServiceDefaults();
builder.AddRedisOutputCache("cache");
builder.AddRedisClient("cache");
builder.AddNatsStreaming();
builder.Services.AddDbContext<ApplicationDbContext>(x => x
.EnableDetailedErrors().EnableSensitiveDataLogging().UseNpgsql(builder.Configuration.GetConnectionString("DefaultConnection"))
.AddInterceptors(new TimeStampAndSoftDeleteInterceptor()));
Expand Down

0 comments on commit 2579c5e

Please sign in to comment.