Fix DB connection check for Geo user routing
Overriding Geo routes should happen if the current node is a secondary. However, simply checking `connected?` on the GeoNode model won't work because Rails releases the DB connection before reloading routes in the initializing phase, resulting in the GeoNode#connected? method being an unreliable indicator for the DB connectivity. Changelog: fixed EE: true
Showing
Please register or sign in to comment