Architectural Hardening: Adopt Non-blocking Async I/O#220
Conversation
…ecution. Removed blocking `std::fs` operations in async contexts such as `web.rs` by utilizing `tokio::fs` alternatives, including `metadata`, `try_exists`, and the respective async load and save methods (`load_async`/`save_async`). This ensures there is no reactor starvation on the event loop, meeting strict deterministic and high-performance system architectural requirements.
|
👋 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. |
Refactored architecture to use asynchronous non-blocking file system operations across the codebase. Replaced blocking calls to
std::fswithintokioasync scopes in favor oftokio::fsfor both configurations and user data loading to improve event-loop stability and eliminate synchronization bottlenecks.PR created automatically by Jules for task 8885758308323153347 started by @Cylae