mirror of
				https://github.com/langgenius/dify.git
				synced 2025-11-04 12:53:38 +00:00 
			
		
		
		
	add clean_unused_datasets_task (#3057)
Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
		
							parent
							
								
									e215aae39a
								
							
						
					
					
						commit
						1716ac562c
					
				@ -50,7 +50,7 @@ def init_app(app: Flask) -> Celery:
 | 
				
			|||||||
        },
 | 
					        },
 | 
				
			||||||
        'clean_unused_datasets_task': {
 | 
					        'clean_unused_datasets_task': {
 | 
				
			||||||
            'task': 'schedule.clean_unused_datasets_task.clean_unused_datasets_task',
 | 
					            'task': 'schedule.clean_unused_datasets_task.clean_unused_datasets_task',
 | 
				
			||||||
            'schedule': timedelta(days=7),
 | 
					            'schedule': timedelta(minutes=3),
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    celery_app.conf.update(
 | 
					    celery_app.conf.update(
 | 
				
			||||||
 | 
				
			|||||||
@ -74,3 +74,4 @@ twilio==9.0.0
 | 
				
			|||||||
qrcode~=7.4.2
 | 
					qrcode~=7.4.2
 | 
				
			||||||
azure-storage-blob==12.9.0
 | 
					azure-storage-blob==12.9.0
 | 
				
			||||||
azure-identity==1.15.0
 | 
					azure-identity==1.15.0
 | 
				
			||||||
 | 
					lxml==5.1.0
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user