From 718c26d79974bd475aa9fb9debd035358f075857 Mon Sep 17 00:00:00 2001 From: JT Date: Tue, 9 Jul 2024 18:06:11 +0800 Subject: [PATCH] Fix test break --- src/Marten/Events/Daemon/Internals/EventPage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Marten/Events/Daemon/Internals/EventPage.cs b/src/Marten/Events/Daemon/Internals/EventPage.cs index 74eb31f15f..0710213f07 100644 --- a/src/Marten/Events/Daemon/Internals/EventPage.cs +++ b/src/Marten/Events/Daemon/Internals/EventPage.cs @@ -13,7 +13,7 @@ public EventPage(long floor) public long Floor { get; } public long Ceiling { get; private set; } - public void CalculateCeiling(int batchSize, long highWaterMark, int skippedEvents) + public void CalculateCeiling(int batchSize, long highWaterMark, int skippedEvents = 0) { Ceiling = (Count + skippedEvents) == batchSize ? this.Last().Sequence