Skip to content

Commit

Permalink
Fewer clusters per request to make the requests faster
Browse files Browse the repository at this point in the history
  • Loading branch information
ujh committed Jan 5, 2025
1 parent d4f5329 commit fc0d96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/src/admin/micro-clusters/macroClusters.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const updateMacroCluster = (id, dispatch) => {
};

const loadMacroClusterPage = async (page, count = 0) => {
const url = `/admins/macro_clusters.json?per_page=25&page=${page}`;
const url = `/admins/macro_clusters.json?per_page=20&page=${page}`;
try {
const response = await getRequest(url);
return await response.json();
Expand Down

0 comments on commit fc0d96e

Please sign in to comment.