Skip to content

Commit

Permalink
Adds more telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalSenn committed May 15, 2024
1 parent beebf43 commit 850d976
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@ private static IIdentityServerBuilder AddIdOps(
SingleReader = true,
AllowSynchronousContinuations = false
});

builder.Services.AddSingleton(channel.Reader);
builder.Services.AddSingleton(channel.Writer);
builder.Services.AddHostedService<IEventSenderWorker>();
builder.Services.AddSingleton<BusEventSender>();
builder.Services.AddHostedService(sp => sp.GetRequiredService<IEventSenderWorker>());
builder.Services.AddSingleton<BusEventSink>();
builder.Services.AddResources();
builder.Services.AddSingleton(builder.Options);
Expand Down

0 comments on commit 850d976

Please sign in to comment.