We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b409562 commit 7261824Copy full SHA for 7261824
src/DotNetCore.CAP.MongoDB/IStorageInitializer.MongoDB.cs
@@ -100,7 +100,8 @@ async Task CreateReceivedMessageIndexesAsync()
100
new(builder.Ascending(x => x.ExpiresAt)),
101
new(builder.Ascending(x => x.StatusName)),
102
new(builder.Ascending(x => x.Retries)),
103
- new(builder.Ascending(x => x.Version))
+ new(builder.Ascending(x => x.Version)),
104
+ new(builder.Ascending(x => x.StatusName).Ascending(x => x.ExpiresAt))
105
};
106
107
await col.Indexes.CreateManyAsync(indexes, cancellationToken);
0 commit comments