[openstreetmap/openstreetmap-website] Limit the number of users counted for users#index (PR #5181)
Tom Hughes
notifications at github.com
Tue Sep 10 17:54:32 UTC 2024
This view uses cursor based pagination but then undermines that by counting the total number of users so limit the effect of that but counting a maximum of ten pages of users.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5181
-- Commit Summary --
* Limit the number of users counted for users#index
-- File Changes --
M app/controllers/users_controller.rb (4)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5181.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5181.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5181
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5181 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240910/a3112550/attachment.htm>
More information about the rails-dev
mailing list