From 5c76df3063081adcd92b338fed260650cd5528b7 Mon Sep 17 00:00:00 2001 From: yfh Date: Fri, 27 Sep 2024 17:13:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B2=89=E9=99=8D=E7=BA=A7=E8=81=94=E5=88=86?= =?UTF-8?q?=E7=BB=84=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- et_calc/group/timeStrategy.go | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/et_calc/group/timeStrategy.go b/et_calc/group/timeStrategy.go index d2e79a4..5807472 100644 --- a/et_calc/group/timeStrategy.go +++ b/et_calc/group/timeStrategy.go @@ -74,26 +74,3 @@ func (t *BaseDueTask) SetDeadLineTime(secs int) { func (t *BaseDueTask) SetTimeout() int { return 0 } - -//// GroupDueTask 分组超时任务 -//type GroupDueTask struct { -// *BaseDueTask -//} -// -//func NewGroupDueTask() *GroupDueTask { -// return &GroupDueTask{ -// BaseDueTask: NewBaseDueTask(), -// } -//} -// -//func (c *GroupDueTask) SetTimeout() int { -// return 0 -//} -// -//func main() { -// // 创建分组超时任务对象 -// dt := NewGroupDueTask() -// fmt.Println("Is Timeout:", dt.IsTimeout()) -// fmt.Println("Elapsed Seconds:", dt.ElapsedSecs()) -// dt.SetTimeout() -//}