mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
got rid of the hot/cold blob, all blobs are "cold" now
This commit is contained in:
@@ -892,6 +892,8 @@ function eraseAttachments(attachmentIdsToErase) {
|
||||
}
|
||||
|
||||
function eraseUnusedBlobs() {
|
||||
// this method is rather defense in depth - in normal operation, the unused blobs should be erased immediately
|
||||
// after getting unused (handled in entity._setContent())
|
||||
const unusedBlobIds = sql.getColumn(`
|
||||
SELECT blobs.blobId
|
||||
FROM blobs
|
||||
|
||||
Reference in New Issue
Block a user