3 ms·
> Does that mean use the read-only replica connection during that time? Yes! https://github.com/discourse/discourse/blob/721ee3642558d960db9345c6238a457aa7f5d
by xfalcox 6y ago
> Does that mean use the read-only replica connection during that time?
Yes!
https://github.com/discourse/discourse/blob/721ee3642558d960db9345c6238a457aa7f5d674/lib/discourse.rb#L506-L513 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.
- christoomey 6y agoI'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!