Skip to content

Commit

Permalink
rename ReplicatedCassandra.segmentSize to segmentSizeDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
t3hnar committed Dec 13, 2023
1 parent a318cbe commit 1d406ce
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ object ReplicatedCassandra {
}

def apply[F[_]: Sync: Parallel: Fail](
segmentSize: SegmentSize,
segmentSizeDefault: SegmentSize,
segmentNrsOf: SegmentNrsOf[F],
statements: Statements[F],
expiryService: ExpiryService[F],
Expand Down Expand Up @@ -254,7 +254,7 @@ object ReplicatedCassandra {
.map { expiry =>
val journalHead = JournalHead(
partitionOffset = partitionOffset,
segmentSize = segmentSize,
segmentSize = segmentSizeDefault,
seqNr = seqNrLast,
deleteTo = deleteTo,
expiry = expiry)
Expand Down Expand Up @@ -343,7 +343,7 @@ object ReplicatedCassandra {
journalHead <- journalHead.fold {
val journalHead = JournalHead(
partitionOffset = partitionOffset,
segmentSize = segmentSize,
segmentSize = segmentSizeDefault,
seqNr = deleteTo.value,
deleteTo = deleteTo.some)
metaJournal
Expand Down

0 comments on commit 1d406ce

Please sign in to comment.