Ensure the number of minutes is not < 1 for Redis setex
Merge branch '4.2'