Making mariadb mirror configurable