From 9b75fbef43bd509bc2331d937159d240eb5a533b Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 3 Dec 2024 20:37:38 +0100 Subject: [PATCH] feat: increase api limit --- src/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.rs b/src/api.rs index d44e541..89ef12f 100644 --- a/src/api.rs +++ b/src/api.rs @@ -81,7 +81,7 @@ async fn api_status_service( Path(service): axum::extract::Path, Query(q): Query, ) -> ApiResult)>> { - let limit = q.limit.unwrap_or(50).min(250); + let limit = q.limit.unwrap_or(50).min(300); let sid = db.sid(&service, false).await?; Ok(Json(db.get(sid, limit).await?)) }