[openstreetmap/openstreetmap-website] Convert database config to support reading from replicas (#2563)

Andy Allan notifications at github.com
Mon Mar 23 09:17:35 UTC 2020


> I’m thinking here about things like the user confirmation link we send out to new users via email, and similar.

Yes, these things might need checking (and at worst, we'll use the "manual connection switching" to a write connection, as described in the docs).

>From a brief check of the `users_controller#confirm` and `#confirm_email` methods then both already require a form to be submitted (as should be the case, since email clients and spam filters can auto-crawl links in emails).

I can't off-hand think of other situations where we are currently GETing something that involves database changes, but I'll have a look and see what I can find. If you can think of any then let me know!

-- 
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/pull/2563#issuecomment-602474503
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200323/c380c894/attachment.htm>


More information about the rails-dev mailing list