Skip to content

Commit

Permalink
Remove dead parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed May 12, 2022
1 parent 1f49559 commit d9ba265
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Equinox.EventStoreDb/EventStoreDb.fs
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,10 @@ type EventStoreConnection(readConnection, [<O; D(null)>] ?writeConnection, [<O;
member _.WriteConnection = defaultArg writeConnection readConnection
member _.WriteRetryPolicy = writeRetryPolicy

type BatchingPolicy(getMaxBatchSize : unit -> int, [<O; D(null)>] ?batchCountLimit) = // TODO batchCountLimit
type BatchingPolicy(getMaxBatchSize : unit -> int) =
new (maxBatchSize) = BatchingPolicy(fun () -> maxBatchSize)
// TOCONSIDER remove if Client does not start to expose it
// TOCONSIDER remove if Client does not start to expose it
member _.BatchSize = getMaxBatchSize()
//TODO member _.MaxBatches = batchCountLimit

[<RequireQualifiedAccess; NoComparison; NoEquality>]
type GatewaySyncResult = Written of StreamToken | ConflictUnknown of StreamToken
Expand Down

0 comments on commit d9ba265

Please sign in to comment.