Skip to content

Commit 94c99db

Browse files
committed
修复cpu占用高问题
1 parent 04a5ad6 commit 94c99db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/worker/worker.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ func (w *Worker) Run() {
3636
fmt.Printf("【%s】Worker stopped\n", w.Options.Name)
3737
w.Options.Stop()
3838
return
39-
default:
40-
// 在这里执行具体的工作
39+
//default:
40+
// // 在这里执行具体的工作
4141
}
4242
}
4343
}()

0 commit comments

Comments
 (0)