mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-03 22:44:28 +00:00
refactor(asset): optimize cleanup job and solidify GC with locking
This commit is contained in:
@@ -1311,11 +1311,7 @@ describe('AssetService', () => {
|
||||
})
|
||||
}
|
||||
|
||||
// 3. Trigger the purge job for the FIRST batch (100 items)
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
await (assetService as any).purgePendingAssets()
|
||||
|
||||
// ...
|
||||
// 3. Trigger the purge job
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
await (assetService as any).purgePendingAssets()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user