Skip to content

Commit

Permalink
Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
elfrucool committed Sep 21, 2023
1 parent 04db498 commit e45e817
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion load/load_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ func loadAvgGoroutine(ctx context.Context) {
)

tick := time.NewTicker(samplingFrequency).C
for {

f := func() {
// calling this because common.ProcessorQueueLengthCounter() returns zero values all time
w, err := common.GetSystemProcessInformation()
if err != nil {
Expand Down

0 comments on commit e45e817

Please sign in to comment.