Decrease visible records per page

After months of usage, I rarely paginate the list, so it's not necessary
to load 100 at a time. 20 is enough.

By matching 20 records with a 20 pool size, we should keep the repo
queue time to a minimum.
This commit is contained in:
Claudio Ortolina
2024-12-15 11:15:46 +03:00
parent 35435e11c0
commit 6660d195e4
4 changed files with 10 additions and 14 deletions
@@ -10,7 +10,7 @@ defmodule MusicLibraryWeb.CollectionLive.Index do
@default_records_list_params %{
query: "",
page: 1,
page_size: 100
page_size: 20
}
@impl true
@@ -10,7 +10,7 @@ defmodule MusicLibraryWeb.WishlistLive.Index do
@default_records_list_params %{
query: "",
page: 1,
page_size: 100
page_size: 20
}
@impl true