bug fix
This commit is contained in:
		
							parent
							
								
									74df3983a0
								
							
						
					
					
						commit
						a0cdb02875
					
				@ -118,6 +118,7 @@ func (r *Remind) AddTask(taskStr, key string, msg []byte) (Task, error) {
 | 
			
		||||
		Key:     key,
 | 
			
		||||
		Msg:     msg,
 | 
			
		||||
		timer:   &tmr,
 | 
			
		||||
		Limit:   int64(tmr.RunCountLimit()),
 | 
			
		||||
	}
 | 
			
		||||
	rmt.timer.AddTask(func() {
 | 
			
		||||
		r.callbackFn(rmt)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user