Open daheige opened 5 years ago
https://github.com/edocevol/cogo-job/blob/9151d06e5094ef292e36113b256386b1a27608e6/gowork.go#L79 you can single use select case,do this,where current task timeout,context will auto exit.
https://github.com/edocevol/cogo-job/blob/9151d06e5094ef292e36113b256386b1a27608e6/gowork.go#L79 you can single use select case,do this,where current task timeout,context will auto exit.