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:
16
data/config/edge.yaml
Normal file
16
data/config/edge.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
device_uuid: 8541db9f77826e39605ef2c032f8fb93
|
||||
edge_id: edge-demo-001
|
||||
cloud_url: http://101.36.73.102:8004
|
||||
mqtt_broker: tcp://101.36.73.102:1883
|
||||
mqtt_user: ""
|
||||
mqtt_pass: ""
|
||||
edge_token: "be079dc5ec8d7c3796d052f3c10143cd"
|
||||
rtsp_urls:
|
||||
- "http://101.36.73.102:8080/rtp/34020000002000000003_34020000001310000001.live.flv?secret=be079dc5ec8d7c3796d052f3c10143cd"
|
||||
infer_socket: /tmp/edge-infer.sock
|
||||
infer_fps: 2
|
||||
infer_workers: 3
|
||||
conf_threshold: 0.2
|
||||
dedup_window_sec: 30
|
||||
ota_url: http://101.36.73.102:8087
|
||||
version: 1.0.0
|
||||
Reference in New Issue
Block a user