fix(event): add 401 handling to prevent infinite retry loop on auth failure

- UploadError struct to distinguish fatal auth errors from network errors
- Clear buffer and throttle on 401/403 to save bandwidth
- Prevent dead-loop retry when token is invalid or expired
This commit is contained in:
2026-05-08 21:00:14 +08:00
parent 78427b2e33
commit 88b2e71a77
6 changed files with 174 additions and 9 deletions

11
.dockerignore Normal file
View File

@@ -0,0 +1,11 @@
.git/
.gitignore
build/
data/
*.om
*.onnx
*.tar.gz
logs/
venv/
__pycache__/
*.pyc