Closed jimvandervoort closed 4 years ago
Thanks for the PR, @jimvandervoort !
For clarity, can we call the constant WP_REDIS_DEFAULT_EXPIRE_SECONDS
?
@danielbachhuber yeah that's better. Changed to WP_REDIS_DEFAULT_EXPIRE_SECONDS
!
Thanks @jimvandervoort . Landing this in #264
Just tagged v0.8.1 and released to WordPress.org. Thanks again!
This PR adds
WP_REDIS_EXPIRE_SECONDS
constant to customise default expire. I added this because on our Redis instance keeps growing with some plugins not setting sensible expire times. Setting a (long) default expire time allows us to work around this issue.