updated redis check to calculate ratios and list lengths