bug:if can't connect redis, will core dump