Skip to content

Commit

Permalink
Fix incorrect error settings being passed to rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Hawxy authored and jeremydmiller committed Jul 16, 2024
1 parent ebca0a8 commit fe3afff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Marten/Events/Daemon/ProjectionDaemon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ private async Task rebuildAgent(ISubscriptionAgent agent, long highWaterMark, Ti
// Ensure that the agent is stopped if it is already running
await stopIfRunningAsync(agent.Name.Identity).ConfigureAwait(false);

var errorOptions = _store.Options.Projections.Errors;
var errorOptions = _store.Options.Projections.RebuildErrors;

var request = new SubscriptionExecutionRequest(0, ShardExecutionMode.Rebuild, errorOptions, this);
await agent.ReplayAsync(request, highWaterMark, shardTimeout).ConfigureAwait(false);
Expand Down

0 comments on commit fe3afff

Please sign in to comment.