mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 07:20:56 +00:00
Replaced `os.path.exists()` + `os.path.getmtime()` with a single `os.stat()` call in `scripts/web_dashboard.py` to reduce syscalls by 50% for cache checks. Also pre-calculated static file paths at module level to avoid redundant `abspath` and `join` calls on every request. Impact: - Reduces filesystem operations per request. - Improves code cleanliness by centralizing path constants. - Verified with existing tests and manual curl check. |
||
|---|---|---|
| .. | ||
| bolt.md | ||