Skip to content

Commit

Permalink
fix: try projector fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Feb 12, 2024
1 parent 914bbdf commit 7933da0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/BuildingRegistry.Projector/Infrastructure/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace BuildingRegistry.Projector.Infrastructure
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Be.Vlaanderen.Basisregisters.Api;
Expand Down Expand Up @@ -228,7 +229,9 @@ public void Configure(
appLifetime.ApplicationStarted.Register(() =>
{
var projectionsManager = _applicationContainer.Resolve<IConnectedProjectionsManager>();
projectionsManager.Resume(_projectionsCancellationTokenSource.Token);
Task.Run(async () =>
await projectionsManager.Resume(_projectionsCancellationTokenSource.Token).ConfigureAwait(false)
).ConfigureAwait(false);
});
}

Expand Down

0 comments on commit 7933da0

Please sign in to comment.