Skip to content

Commit

Permalink
Better statistics - part 3 #30
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaakko Heusala committed Oct 20, 2024
1 parent c06644c commit b443774
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/workers/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ func (m *WorkerPool[T]) Start(workers int, f func(T)) error {
diffPublishedCount, jobsPublishedSecond, diffStartedCount, jobsStartedSecond, diffFinishedCount, jobsFinishedSecond, currentJobsWaiting, diffJobsWaiting, currentJobsProcessing, diffJobsProcessing)
}

prevTime = currentTime
prevPublishedCount = m.PublishedJobs()
prevStartedCount = m.StartedJobs()
prevFinishedCount = m.FinishedJobs()
Expand Down

0 comments on commit b443774

Please sign in to comment.