Phase 5.1: AsyncVfsDavFs spawn_blocking wrapper complete
- AsyncVfsDavFs wraps VfsDavFs with spawn_blocking - All DavFileSystem methods offloaded to blocking thread pool - Uses tokio::runtime::Runtime::block_on inside spawn_blocking - Prevents blocking async executor during VFS operations Tests: 293 passed, 0 failed
This commit is contained in:
@@ -6,7 +6,7 @@ use bytes::{Buf, Bytes};
|
||||
use dav_server::davpath::DavPath;
|
||||
use dav_server::fs::{
|
||||
DavDirEntry, DavFile, DavFileSystem, DavMetaData, DavProp, FsError, FsFuture, FsStream,
|
||||
OpenOptions,
|
||||
OpenOptions, ReadDirMeta,
|
||||
};
|
||||
use dav_server::ls::DavLockSystem;
|
||||
use http::StatusCode;
|
||||
|
||||
Reference in New Issue
Block a user