bug repair when high concurrent

This commit is contained in:
刘河 committed 2019-02-18 01:05:05 +08:00
1 parent 48c7309973
commit dab51c32a2
14 files changed
+229 -242

No files matched your search

+1 -1
View File
@@ -157,7 +157,7 @@ func (s *Csv) UpdateTask(t *Tunnel) error {
return nil
}
}
return errors.New("不存在")
return errors.New("the task is not exist")
}
func (s *Csv) DelTask(id int) error {