[openstreetmap/openstreetmap-website] Limit number of edits per user and day (#2342)
Tom Hughes
notifications at github.com
Tue Aug 6 08:40:43 UTC 2019
>From a practical point of view you need to define "edit" somehow - the obvious answer is changesets but that can be easily gamed so it will presumably need to be the number of objects added/changed/deleted.
Doing it per day is probably excessively expensive from an implementation standpoint because it requires resetting counters at some point, or keeping say hourly counts and expiring those over a day old. A token bucket type algorithm like the download limit probably makes more sense.
>From a personal point of view I dread dealing with the resulting complaints...
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2342#issuecomment-518571712
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190806/e4239678/attachment.html>
More information about the rails-dev
mailing list