mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	!96 删除数据库备份和恢复历史
* feat: 删除数据库备份历史 * refactor dbScheduler * feat: 从数据库备份历史中恢复数据库 * feat: 删除数据库恢复历史记录 * refactor dbScheuler
This commit is contained in:
		@@ -50,10 +50,6 @@ func (d *wrapper[T]) GetKey() string {
 | 
			
		||||
	return d.key
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (d *wrapper[T]) Payload() T {
 | 
			
		||||
	return d.job
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func NewDelayQueue[T Delayable](cap int) *DelayQueue[T] {
 | 
			
		||||
	singleDequeue := make(chan struct{}, 1)
 | 
			
		||||
	singleDequeue <- struct{}{}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user