From 34fbfe9370efae349a4701babc32827718427e94 Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Wed, 7 Feb 2024 02:25:10 +0330 Subject: [PATCH 1/2] increase pagination size --- lib/backend-api/src/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/backend-api/src/query.rs b/lib/backend-api/src/query.rs index 52d9ec5300c..f76e0fb1e3c 100644 --- a/lib/backend-api/src/query.rs +++ b/lib/backend-api/src/query.rs @@ -693,7 +693,7 @@ fn get_app_logs( // TODO: increase pagination size // See https://github.com/wasmerio/edge/issues/460 // first: Some(500), - first: Some(10), + first: Some(100), starting_from: unix_timestamp(start), until: end.map(unix_timestamp), }; From 6950503a31090c0937e4d803fb8de0ae217e4fd0 Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Wed, 7 Feb 2024 02:27:20 +0330 Subject: [PATCH 2/2] remove old comment --- lib/backend-api/src/query.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/backend-api/src/query.rs b/lib/backend-api/src/query.rs index f76e0fb1e3c..99cf751cab0 100644 --- a/lib/backend-api/src/query.rs +++ b/lib/backend-api/src/query.rs @@ -690,9 +690,6 @@ fn get_app_logs( name: name.clone(), owner: owner.clone(), version: tag.clone(), - // TODO: increase pagination size - // See https://github.com/wasmerio/edge/issues/460 - // first: Some(500), first: Some(100), starting_from: unix_timestamp(start), until: end.map(unix_timestamp),