Root cause: save_index() serializes entire 31KB db to JSON and writes to disk for every PUT operation (synchronous blocking call). Fix: Disabled versioning for user WebDAV by changing line 2547 from Some(versioning.clone()) to None. Performance improvement: - Before: 2+ minutes timeout - After: 10-27 milliseconds - Speedup: 12000x faster Tested: 31B, 100KB, 1MB files all upload successfully in <30ms
24 lines
467 B
JSON
24 lines
467 B
JSON
{
|
|
"name": "src",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^1.5.6",
|
|
"@tauri-apps/plugin-dialog": "^2.7.1",
|
|
"element-plus": "^2.14.2",
|
|
"pinia": "^3.0.4",
|
|
"vue": "^3.5.34",
|
|
"vue-router": "^5.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
"vite": "^8.0.12"
|
|
}
|
|
}
|