mirror of https://github.com/coder/coder.git
chore: clean up lint (#11270)
This commit is contained in:
parent
e84d89353f
commit
3ab4800a18
|
@ -135,8 +135,8 @@ func (r *Runner) StartCron() {
|
|||
// So if we are closed, we just return, and skip the Run() entirely.
|
||||
select {
|
||||
case <-r.cronCtx.Done():
|
||||
// The cronCtx is cancelled before cron.Close() happens. So if the ctx is
|
||||
// cancelled, then Close() will be called, or it is about to be called.
|
||||
// The cronCtx is canceled before cron.Close() happens. So if the ctx is
|
||||
// canceled, then Close() will be called, or it is about to be called.
|
||||
// So do nothing!
|
||||
default:
|
||||
r.cron.Run()
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue