Optimize WebDAV responsiveness and performance#25
Conversation
This commit introduces several performance improvements to the WebDAV layer: - Added a 1024-item LRU cache for file descriptors in `DCMsgFDRepository` to minimize Discord API overhead. - Optimized `Folder.member()` and `Resource.__init__()` to reuse existing `DCFSFileRef` objects, eliminating redundant directory traversals. - Increased `PROPFIND` concurrency from 10 to 20 in `asgidav/reqres.py` to speed up large directory listings. These changes significantly improve the "smoothness" and responsiveness when browsing and accessing files via WebDAV. Co-authored-by: VulcanoSoftware <113239901+VulcanoSoftware@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Optimized WebDAV performance by implementing metadata caching, reducing redundant lookups, and increasing concurrency during directory listings. This addresses the responsiveness issues reported by the user when using WinSCP.
PR created automatically by Jules for task 8693918293161289991 started by @VulcanoSoftware