[openstreetmap/openstreetmap-website] Add the ability to rate limit edits (PR #4319)
zstadler
notifications at github.com
Mon Oct 30 09:19:45 UTC 2023
I'm deeply sorry I was not expressing myself clearly.
> > It is not fundementally different than what's done in `https://www.openstreetmap.org/user/`.
>
> I don't understand what you mean? Nothing on the user page shows the number of changes - the number of changesets yet but not the number of objects changed.
I meant to say that [ GET /api/0.6/changesets](https://wiki.openstreetmap.org/wiki/API_v0.6#Query:_GET_/api/0.6/changesets) can provide the information needed to compute the total number of changes made by an account.
This is in contrast to an alternative approach of reading and analyzing the associated osmChange data using [GET /api/0.6/changeset/#id/download](https://wiki.openstreetmap.org/wiki/API_v0.6#Download:_GET_/api/0.6/changeset/#id/download) calls for each changeset.
I was assuming the "edit" link on the users page is using the [ GET /api/0.6/changesets](https://wiki.openstreetmap.org/wiki/API_v0.6#Query:_GET_/api/0.6/changesets) API point.
> > It would be useful to cache the open changesets. Still, _Perfect is the enemy of good_
>
> What does the number of open changesets have to do with anything?
I meant to say that if there is a cache for the total number of changes made by each user, at any given moment, the number of useful lines in the the cache would be at the same order of magnitude as the number of open changesets in the system.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4319#issuecomment-1784784345
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4319/c1784784345 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231030/b07d4bf5/attachment.htm>
More information about the rails-dev
mailing list