[openstreetmap/openstreetmap-website] Increase changeset query max limit (Issue #4109)
Anton Khorev
notifications at github.com
Fri Jul 28 13:54:11 UTC 2023
### Problem
_No response_
### Description
Now that changeset query limit parameter is [merged](https://github.com/openstreetmap/openstreetmap-website/pull/3933), we can increase the max limit. Currently it's 100, let's increase it to 1000.
A typical use case is getting all changesets of a given user. This is done with multiple changeset queries by altering the upper end of the `time` parameter. It can't be easily parallelized because you need to know the date of the last changeset in the result before making your next request. With the current limit of 100, most of the time is spent probably on waiting for the responses over the net. Each response is usually 30..50kb.
Similar upper limit for notes is 10000 which seems very generous. Queries can run for almost a minute and send 10Mb of data.
### Screenshots
_No response_
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4109
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4109 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230728/fd05a863/attachment.htm>
More information about the rails-dev
mailing list