Rootfix usage counter outbox

This commit is contained in:
fawney19
2026-05-19 00:44:37 +08:00
parent 19c8688eb1
commit 5eed329916
60 changed files with 4910 additions and 362 deletions
@@ -273,6 +273,8 @@ async fn gateway_handles_admin_monitoring_system_status_locally_with_trusted_adm
assert_eq!(payload["tunnel"]["nodes"], json!(0));
assert_eq!(payload["tunnel"]["active_streams"], json!(0));
assert_eq!(payload["recent_errors"], json!(1));
assert_eq!(payload["usage_counter"]["status"], json!("idle"));
assert_eq!(payload["usage_counter"]["outbox_pending_rows"], json!(0));
assert!(payload["timestamp"].as_str().is_some());
assert_eq!(*upstream_hits.lock().expect("mutex should lock"), 0);