Merge Pr that fixes bug with redis database configuration - database needs to be of type int