Database failover is now handled in the code with 10 second window.