Skip to content

Commit

Permalink
controller: fix reporter interval mix up with monitor interval (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gandem authored Nov 18, 2024
1 parent e40ccae commit 9c8ddce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func (c *Controller) Start(ctx context.Context) error {
traceHandlerCacheSize :=
traceCacheSize(c.config.MonitorInterval, c.config.SamplesPerSecond, uint16(presentCores))

intervals := times.New(c.config.MonitorInterval,
c.config.ReporterInterval, c.config.ProbabilisticInterval)
intervals := times.New(c.config.ReporterInterval, c.config.MonitorInterval,
c.config.ProbabilisticInterval)

// Start periodic synchronization with the realtime clock
times.StartRealtimeSync(ctx, c.config.ClockSyncInterval)
Expand Down

0 comments on commit 9c8ddce

Please sign in to comment.