3 Commits

Author SHA1 Message Date
5238a08309 perf: log system - keep file handle open + async queue writes
- Replace open/write/flush/close per log call with persistent file handle
- Use threading.Queue + background daemon thread for non-blocking writes
- Only flush on exception/critical levels or periodically (every 1s idle)
- Queue full protection: drop oldest entry instead of blocking event loop
- Eliminates disk I/O blocking on slow storage (NFS/cloud disk) during high traffic
2026-05-26 13:18:47 +08:00
9532358d24 bugfix 2026-04-10 08:18:03 +08:00
af62253bd7 first commit 2025-07-16 11:09:20 +08:00