[openstreetmap/openstreetmap-website] Idempotency for API 0.6 (#2201)

Tom Hughes notifications at github.com
Sun Apr 7 15:50:34 UTC 2019


See the problem with your design is that it requires storing potentially enormous diffresult text in the database... 

Oh, and that exclusive lock is just going to timeout every time if a previous upload is still running...

Also if we're checking a hash of the request why do we even need the idempotency key? I thought the idea was that the client would use a different key when the request changed so that just comparing the key was enough?

-- 
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/2201#issuecomment-480602431
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190407/8cb29fff/attachment.html>


More information about the rails-dev mailing list