Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Version>8.13.1</Version>
<Version>8.13.2</Version>
<LangVersion>12.0</LangVersion>
<Authors>Jeremy D. Miller;Babu Annamalai;Jaedyn Tonee</Authors>
<PackageIconUrl>https://martendb.io/logo.png</PackageIconUrl>
Expand Down
7 changes: 6 additions & 1 deletion src/Marten/Events/Daemon/Internals/ProjectionUpdateBatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,12 @@ public async ValueTask<IMessageBatch> CurrentMessageBatch(DocumentSessionBase se

public async Task SpinUpMessageBatchAsync(DocumentSessionBase session)
{
_batch = await _session.Options.Events.MessageOutbox.CreateBatch(session).ConfigureAwait(false);
var sessionOptions = SessionOptions.ForDatabase(session.Database);
sessionOptions.Tracking = DocumentTracking.None;

var projectionSession = new ProjectionDocumentSession((DocumentStore)_session.DocumentStore, this, sessionOptions,
ShardExecutionMode.Continuous);
_batch = await _session.Options.Events.MessageOutbox.CreateBatch(projectionSession).ConfigureAwait(false);
Listeners.Add(_batch);
}
}
Loading