mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
fix(edit-docs): fix random erase of attachments due to consistency issues
This commit is contained in:
@@ -28,9 +28,9 @@ async function main() {
|
||||
|
||||
async function setOptions() {
|
||||
const optionsService = (await import("./src/services/options.js")).default;
|
||||
optionsService.setOption("eraseUnusedAttachmentsAfterSeconds", 600);
|
||||
optionsService.setOption("eraseUnusedAttachmentsAfterSeconds", 10);
|
||||
optionsService.setOption("eraseUnusedAttachmentsAfterTimeScale", 60);
|
||||
optionsService.setOption("compressImages", false);
|
||||
optionsService.setOption("compressImages", "false");
|
||||
}
|
||||
|
||||
async function createImportZip() {
|
||||
|
||||
Reference in New Issue
Block a user