From 687440782d69331ed6b075a85261bb892a67ebed Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Mon, 13 Jul 2026 18:32:19 -0700 Subject: [PATCH] default pagination limit 50 --- bin/cli/src/command/container.rs | 2 +- client/core/rs/src/entities/config/core.rs | 5 ++--- compose/compose.env | 2 +- config/core.config.toml | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bin/cli/src/command/container.rs b/bin/cli/src/command/container.rs index a07063491..5f037b1b8 100644 --- a/bin/cli/src/command/container.rs +++ b/bin/cli/src/command/container.rs @@ -156,7 +156,7 @@ pub async fn inspect_container( tags: Default::default(), terms: vec![inspect.container.clone()], state: Default::default(), - limit: Some(300), + limit: Some(0), page: 0, sort_by: ContainerSortBy::Server, sort_desc: false, diff --git a/client/core/rs/src/entities/config/core.rs b/client/core/rs/src/entities/config/core.rs index 3f5bef257..f776a2e28 100644 --- a/client/core/rs/src/entities/config/core.rs +++ b/client/core/rs/src/entities/config/core.rs @@ -400,8 +400,7 @@ pub struct CoreConfig { pub timezone: String, /// Set the default pagination limit for the API and UI to use. - /// Default: 30 - /// Recommended: 100 or less + /// Default: 50 #[serde(default = "default_default_pagination_limit")] pub default_pagination_limit: u64, @@ -823,7 +822,7 @@ fn default_private_key() -> String { } fn default_default_pagination_limit() -> u64 { - 30 + 50 } fn default_ui_path() -> String { diff --git a/compose/compose.env b/compose/compose.env index 69f41e72f..428556d23 100644 --- a/compose/compose.env +++ b/compose/compose.env @@ -58,7 +58,7 @@ KOMODO_DISABLE_CONFIRM_DIALOG=false KOMODO_DISABLE_INIT_RESOURCES=false ## Change the default pagination limit for the API and UI to use. -KOMODO_DEFAULT_PAGINATION_LIMIT=30 +KOMODO_DEFAULT_PAGINATION_LIMIT=50 ## Used to auth incoming webhooks. Alt: KOMODO_WEBHOOK_SECRET_FILE KOMODO_WEBHOOK_SECRET=a_random_secret diff --git a/config/core.config.toml b/config/core.config.toml index cdea94a1c..f8c949efa 100644 --- a/config/core.config.toml +++ b/config/core.config.toml @@ -81,8 +81,8 @@ private_key = "file:/config/keys/core.key" ## Set the default pagination limit for the API and UI to use. ## Env: KOMODO_DEFAULT_PAGINATION_LIMIT -## Default: 30 -default_pagination_limit = 30 +## Default: 50 +default_pagination_limit = 50 ## Disables write support on resources in the UI. ## This protects users that that would normally have write priviledges during their UI usage,