renamed override_slavelag_check to get_slave_lag