修改 <-

master
dengsgo 2018-12-30 15:20:41 +08:00
parent 7604ec07f7
commit 331f449733
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func (t *TaskMan) Put(cf *changeFile) {
defer t.putLock.Unlock()
t.lastTaskId = cf.Changed
go func() {
<- time.Tick(time.Millisecond * time.Duration(t.delay))
<-time.Tick(time.Millisecond * time.Duration(t.delay))
if t.lastTaskId > cf.Changed {
return
}