mpchadwick / Mpchadwick_PageCacheHitRate

Monitor your Magento site's Page Cache Hit Rate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Specify a timeout when instantiating Redis connection

mpchadwick opened this issue · comments

https://github.com/mpchadwick/Mpchadwick_PageCacheHitRate/blob/develop/app/code/community/Mpchadwick/PageCacheHitRate/Model/Tracker/Redis.php#L50-L53

When using the Redis tracker this connection will be made for every Redis conneciton. We'd rather lose data than slow down the application. Let's specify a very conservative timeout.

Fixed in c744509