Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed Sep 27, 2023
1 parent 68a443e commit 1e857a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Propulsion/Sync.fs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type Factory private () =
logStreamStates eventSize
match dumpExternalStats with Some f -> f log | None -> ()
let scheduler =
Scheduling.Engine<_, struct (StreamSpan.Metrics * TimeSpan * 'Outcome), struct (StreamSpan.Metrics * exn), 'F>
Scheduling.Engine<struct (int64 * StreamSpan.Metrics * TimeSpan * 'Outcome), struct (StreamSpan.Metrics * TimeSpan * 'Outcome), struct (StreamSpan.Metrics * exn), 'F>
(dispatcher, stats, dumpStreams, pendingBufferSize = maxReadAhead, ?idleDelay = idleDelay, ?purgeInterval = purgeInterval)

Projector.Pipeline.Start(log, scheduler.Pump, maxReadAhead, scheduler, stats.StatsInterval.Period)
2 changes: 1 addition & 1 deletion tests/Propulsion.Kafka.Integration/ConsumersIntegration.fs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ module Helpers =
for event in stream.span do
c <- c + 1
do! handler (getConsumer()) (deserialize consumerId event)
(log : ILogger).Information("BATCHED CONSUMER Handled {c} events in {l} streams", c, streams.Length )
(log : ILogger).Information("BATCHED CONSUMER Handled {c} events in {l} streams", c, streams.Length)
let ts = Stopwatch.elapsed ts
return seq { for x in streams -> struct (ts, Ok (Propulsion.Sinks.Events.nextIndex x.span)) } }
let stats = Stats(log, TimeSpan.FromSeconds 5.,TimeSpan.FromSeconds 5.)
Expand Down

0 comments on commit 1e857a0

Please sign in to comment.