Skip to content

Commit

Permalink
Aumento no carregamento dos contatos para 5000
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Oct 9, 2022
1 parent e2d239b commit f97cc72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const ListContactsService = async ({
};
}

const limit = 20;
const limit = 5000;
const offset = limit * (+pageNumber - 1);

const { count, rows: contacts } = await Contact.findAndCountAll({
Expand Down

0 comments on commit f97cc72

Please sign in to comment.