Hacker News new | ask | show | jobs
by xfalcox 2079 days ago
> Does that mean use the read-only replica connection during that time?

Yes!

https://github.com/discourse/discourse/blob/721ee3642558d960...

> If so, did you have to configure some error handling for that timeframe?

Since this was an early goal in the project, the controllers are mostly away of the read-only mode already and know how to deal with it is most places.

1 comments

I've added a note at the bottom of the post as your gem seems like a great option for this sort of functionality. Thanks again for sharing!