生成项目任务/chat任务软删|生成资源管控回收|生成资源token验签API预处理
This commit is contained in:
@@ -22,6 +22,7 @@ async def _cleanup_urls():
|
||||
.where(
|
||||
GenerationRecord.video_url_expires_at.isnot(None),
|
||||
GenerationRecord.video_url_expires_at < now,
|
||||
GenerationRecord.deleted_at.is_(None),
|
||||
)
|
||||
.values(video_url_expires_at=None)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user