summary refs log tree commit diff
path: root/synapse/config/redis.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add missing type hints to config classes. (#12402)Patrick Cloke2022-04-111-2/+5
|
* Use importlib.metadata to read requirements (#12088)David Robertson2022-03-011-1/+1
| | | | | | | | | | | | | | | | | | * Pull runtime dep checks into their own module * Reimplement `check_requirements` using `importlib` I've tried to make this clearer. We start by working out which of Synapse's requirements we need to be installed here and now. I was surprised that there wasn't an easier way to see which packages were installed by a given extra. I've pulled out the error messages into functions that deal with "is this for an extra or not". And I've rearranged the loop over two different sets of requirements into one loop with a "must be instaled" flag. I hope you agree that this is clearer. * Test cases
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Update worker docs with recent enhancements (#7969)Erik Johnston2020-07-291-1/+22
|
* Drop support for redis.dbid (#7450)Richard van der Hoff2020-05-071-1/+0
| | | Since we only use pubsub, the dbid is irrelevant.
* Add ability to run replication protocol over redis. (#7040)Erik Johnston2020-04-221-0/+35
This is configured via the `redis` config options.