[openstreetmap/openstreetmap-website] Integrate the high-performance GPX importer (#1852)
Tom Hughes
notifications at github.com
Thu Oct 4 11:14:34 UTC 2018
So the bulk inserter doesn't have the brains to batch up the checks I take it... Given that there is only actually one trace ID and one user ID to check for everything...
I really dislike it being an attribute that is set on each point... One option might be to validate (using a custom validation context) and then save with validation disabled and use `:on` on the validation to suppress it in the custom validation context. Annoyingly `:on` is a whitelist and there is no blacklist version of it, so we would have to list the contexts where we wanted it to work which I think is just `:create` and `:update` as the defaults.
--
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/1852#issuecomment-426980654
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181004/85dcf755/attachment.html>
More information about the rails-dev
mailing list