[openstreetmap/openstreetmap-website] Limit number of edits per user and day (#2342)
mmd
notifications at github.com
Sun Sep 3 12:12:25 UTC 2023
Initially, I thought this could be managed by the "changeset create" endpoint only, which is implemented both on CGImap and Rails (we're using the Rails version in production).
However, since we have apps like StreetComplete, we need to be careful to have a sane limit of currently opened changesets at any one time. If this limit is too low, it will break StreetComplete. Also, changesets might live up to 24 hours, if you keep on uploading small changes over a period of multiple hours, i.e. we need to be more precise what exactly "changesets/h" means.
Without applying additional changes to CGImap, I don't see how we cold possibly limit the number of max. changes for each of these open changesets to less than 10k changes, or have a limit on the total number of changes per hour.
Bottom line, these changes are much more difficult to implement than it might appear.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2342#issuecomment-1704289214
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/2342/1704289214 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230903/b7bacbb4/attachment.htm>
More information about the rails-dev
mailing list