Looks like the feature of setting TTL in milliseconds was introduced in redis 2.6, so when we do not want to require redis 2.6.0 we have to drop this feature. I think it is okay for 1.1.x but I think for the implementation in Yii2 we can require redis >=2.6.0. Will make the changes soon...