<p></p>
<p>From what I’ve seen the mechanism to decide which connection to use is largely based on the http verb: in particular GET would be directed to the replica database while POST/PUT/... hit the main database. I think this assumes that GET involves no database. I’ve read about some other apps where this isn’t the case and wonder wether we have the same issue. I’m thinking here about things like the user confirmation link we send out to new users, and similar.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2563#issuecomment-602174554">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLODK7LYGKYRKZG3GH3RIXPSJANCNFSM4LOVDDGQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLKAEHDIO2UW6JM4BVTRIXPSJA5CNFSM4LOVDDG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEPSHIWQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2563#issuecomment-602174554",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2563#issuecomment-602174554",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>