You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since there's a (small) delay between slave servers and master ones, when a user updates an item, I'd like to show that result from the master database.
Is there any way to enable or disable this module on a per-request basis?
Looking at the code I see Thread.current[:read_from_slave], but aren't sure that setting this to false will skip it for this request...
The text was updated successfully, but these errors were encountered:
Since there's a (small) delay between slave servers and master ones, when a user updates an item, I'd like to show that result from the master database.
Is there any way to enable or disable this module on a per-request basis?
Looking at the code I see Thread.current[:read_from_slave], but aren't sure that setting this to false will skip it for this request...
The text was updated successfully, but these errors were encountered: