finish timeout option for task

This commit is contained in:
Jason li
2021-01-14 11:55:56 +08:00
parent 9860e0a618
commit 686b73891e
4 changed files with 102 additions and 2 deletions

View File

@@ -289,3 +289,7 @@ func (o *oldToNewAdapter) SetPrev(ctx context.Context, t time.Time) {
func (o *oldToNewAdapter) GetPrev(ctx context.Context) time.Time {
return o.delegate.GetPrev()
}
func (o *oldToNewAdapter) GetTimeout(ctx context.Context) time.Duration {
return 0
}