apppublic/appPublic/__pycache__/uniqueID.cpython-310.pyc
yumoqing 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

1.0 KiB