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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user