Commit graph

5 commits

Author SHA1 Message Date
Gergő Tisza
a778ea1316 Ignore errors in RedisConnectionPool destructor
The destructor can be called on shutdown so any operation which
relies on another object or resource can fail. E.g. running
anything involving Redis (such as >>new Message('').''<<)
from shell.php and then exiting will result in a RedisException
since the PHP engine closes the Redis connection before destroying
the connection pool. Such errors can be safely ignored.

Change-Id: I38474a9dda89c82edbcb878facb4a97740e9189a
2017-08-14 14:28:41 +00:00
Aaron Schulz
82e2c924e4 Remove "@author Aaron Schulz" annotations
Bug: T139301
Change-Id: Ib5248e8e27d60611c7373bce4b29dd5e85aa3489
2017-06-27 15:24:14 -07:00
Aaron Schulz
0d89c642bd Set a persistent connection ID for RedisConnectionPool
This re-uses the options hash as the ID so that re-used connections
do not clobber each others settings.

Change-Id: I17e5993ecdab1770259803e06956b85b9ebb2ba6
2017-04-21 17:17:09 -07:00
Yuriy Shnitkovskiy
73412f53fe Removed deprecated unused method in RedisConnectionPool.php
There are no usages of RedisConnectionPool::handleException() in core or extensions
so it can safely be removed.

Bug: T61113
Change-Id: Icd9ceb394625e9610f5071d13fbfd2760c464870
2017-01-10 14:51:44 +02:00
Aaron Schulz
10593ffaab Move RedisConnectionPool to /libs/redis
Change-Id: Ied4a85d7172ab76b90f6d9ce4d47a83c3fd7d111
2016-09-23 00:20:19 -07:00
Renamed from includes/clientpool/RedisConnectionPool.php (Browse further)