aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/RedisFactory.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #46521 from nextcloud/backport/46475/stable29John Molakvoæ2024-07-271-1/+1
|\
| * fix(redis): Require version >=4 for unlinkGit'Fellow2024-07-151-1/+1
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | feat: add config flag to toggle persistent redis connectionsRobin Appelman2024-07-221-12/+21
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Code simplification using null coalescingGit'Fellow2023-08-131-24/+4
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* redis: Do not try to authenticate with non-string password/userLeo R. Lundgren2023-06-011-2/+2
| | | | Signed-off-by: Leo R. Lundgren <leo@finalresort.org>
* Add event logging for db and redis connectionJulius Härtl2022-02-281-3/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* use persistent connections when connecting to redisRobin Appelman2022-02-011-4/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use strict comparison to detect usage of redis clusterLouis Chemineau2021-11-251-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix check for redis minimal versionDaniel Kesselberg2021-09-221-6/+6
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Allow empty Redis configVincent Petry2021-07-231-4/+4
| | | | | | | | When Redis config is empty, use defaults. However when a Redis cluster config is specified, the "seeds" attribute is mandatory. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Properly support RedisClusterJohn Molakvoæ (skjnldsv)2021-07-221-16/+22
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Support redis user password auth and tls encryptionJohn Molakvoæ (skjnldsv)2021-07-201-22/+84
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow redis cluster to use passwordMorris Jobke2019-05-221-1/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix Redis with unix socketAlejandro Varela2019-05-141-1/+3
| | | | Signed-off-by: Alejandro Varela <epma01@gmail.com>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* no ternaryJörn Friedrich Dreyer2017-03-251-2/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* fix constantJörn Friedrich Dreyer2017-03-251-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add Redis Cluster supportRobin McCorkell2017-03-251-23/+37
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-1/+2
|
* factor out redis configuration into it's own factoryRobin Appelman2016-05-031-0/+85