3 ms·
> which would require some minor adjustment in the app server code, isn't it? Yes, that's what the code fragment does: > if e.cause.is_a?(PG::ReadOnlySqlTrans
by viraptor 5y ago
> which would require some minor adjustment in the app server code, isn't it?
Yes, that's what the code fragment does:
> if e.cause.is_a?(PG::ReadOnlySqlTransaction)
- frafra 5y agoOk, so that's an example of how the app server code should look like, no middleware involved. Thank you!
- mrkurt 5y agoWe should have definitely linked to these docs, I appreciate you asking and it sounds like you all managed to figure everything out though: https://fly.io/docs/getting-started/multi-region-databases/ https://fly.io/docs/getting-started/multi-region-databases/