mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-29 02:22:44 +08:00
edit
This commit is contained in:
@@ -20,7 +20,7 @@ type taskLogic struct {
|
||||
taskJobMap sync.Map
|
||||
}
|
||||
|
||||
var TaskLogic taskLogic
|
||||
var TaskLogic = new(taskLogic)
|
||||
|
||||
func (t *taskLogic) getTaskJob(id int) (*model.TaskJob, error) {
|
||||
c, ok := t.taskJobMap.Load(id)
|
||||
|
||||
Reference in New Issue
Block a user