summaryrefslogtreecommitdiffstats
path: root/lib/private/Memcache
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for xcacheDaniel Kesselberg2018-08-121-137/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Properly provide local memcache check to ICacheFactoryMorris Jobke2018-03-131-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class statement instead of stringMorris Jobke2018-01-291-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Simplify ternary operator statementsMorris Jobke2018-01-261-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Request->getHeader() should always return a stringMorris Jobke2018-01-171-2/+2
| | | | | | | | PHPDoc (of the public API) says that this method returns string but it also returns null, which is not allowed in some method calls. This fixes that behaviour and returns an empty string and fixes all code paths that explicitly checked for null to be still compliant. Found while enabling the strict_typing for lib/private for the PHP7+ migration. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Made the cache factory strictRoeland Jago Douma2018-01-161-15/+18
| | | | | | | | | * Return types * Typehints * made strict * fix tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-064-0/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* More phpstorm inspection fixesRoeland Jago Douma2017-07-242-12/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not scan for keys just get all the keys (with prefix)Roeland Jago Douma2017-05-161-6/+4
| | | | | | | Apparently scan leads to some issues sometimes on cluster. So just use the get function to fetch the keys. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Compatibility with Redis and RedisClusterMorris Jobke2017-05-041-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add Redis Cluster supportRobin McCorkell2017-03-251-14/+14
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make sure old instances don't breakJoas Schilling2017-01-051-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Kill APC because it requires PHP 5.4Joas Schilling2017-01-051-136/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Disable memcached binary protocolRoeland Jago Douma2016-12-211-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #2725 from nextcloud/memcached-connect-onceRoeland Jago Douma2016-12-171-10/+11
|\ | | | | [downstream] Set options, then add servers
| * Set options, then add serversVictor Dubiniuk2016-12-161-10/+11
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Do not validate return code is set is successfulVictor Dubiniuk2016-12-161-1/+3
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Activate APCu on PHP 7Morris Jobke2016-09-011-2/+30
| | | | | | Fix an issue with APCus inc and dec methods on PHP 7 see https://github.com/krakjoe/apcu/issues/183#issuecomment-244038221 for details
* Update with robinJoas Schilling2016-07-2111-11/+11
|
* Fix othersJoas Schilling2016-07-2111-15/+26
|
* Update license headersLukas Reschke2016-05-266-5/+8
|
* Merge pull request #24563 from owncloud/redis-factoryMorris Jobke2016-05-121-29/+2
|\ | | | | factor out redis configuration into it's own factory
| * factor out redis configuration into it's own factoryRobin Appelman2016-05-031-29/+2
| |
* | allow configuration of memcached options (#23729)Jörn Friedrich Dreyer2016-05-111-0/+30
|/ | | | | | | | | | | | | | | | | | * allow configuration of memcache options Use production values for memcached as explained in http://apprize.info/php/scaling/15.html The current implementiation uses ascii based serialization. This PR should reduce traffic to the memcached server. cc @MorrisJobke @FelixBoehm * add config sample * merge config options, throw hint on config error * fix typo * fix config sample
* Move \OC\Memcache to PSR-4Roeland Jago Douma2016-04-1811-0/+1430