`GET /api/plugins/hermes-lcm/compression`
(
State(state): State<DashboardState>,
JsonQuery(params): JsonQuery<CompressionParams>,
)
| 222 | |
| 223 | /// `GET /api/plugins/hermes-lcm/compression` |
| 224 | pub(crate) async fn compression( |
| 225 | State(state): State<DashboardState>, |
| 226 | JsonQuery(params): JsonQuery<CompressionParams>, |
| 227 | ) -> LcmResult { |
| 228 | let limit = coerce_limit(params.limit, 50, 500); |
| 229 | let by_node = params.by.eq_ignore_ascii_case("node"); |
| 230 | let payload = lcm_service::compression_payload(&state, by_node, limit).await?; |
| 231 | Ok(ok(payload)) |
| 232 | } |
| 233 | |
| 234 | /// `GET /api/plugins/hermes-lcm/payloads/health` |
| 235 | pub(crate) async fn payloads_health( |
nothing calls this directly
no test coverage detected