summary refs log tree commit diff
path: root/stubs/txredisapi.pyi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect type hints for txredis. (#12042)Patrick Cloke2022-03-081-3/+6
| | | | Some properties were marked as RedisProtocol instead of ConnectionHandler, which wraps RedisProtocol instance(s).
* Add missing type hints to `synapse.logging.context` (#11556)Sean Quah2021-12-141-4/+5
|
* Add types to synapse.util. (#10601)reivilibre2021-09-101-1/+1
|
* 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>`
* Fix remaining mypy issues due to Twisted upgrade. (#9608)Patrick Cloke2021-03-151-1/+1
|
* Add logging for redis connection setup (#9590)Richard van der Hoff2021-03-111-1/+3
|
* Precompute joined hosts and store in Redis (#9198)Erik Johnston2021-01-261-1/+11
|
* Periodically send pings to detect dead Redis connections (#9218)Erik Johnston2021-01-261-4/+8
| | | | | | | | This is done by creating a custom `RedisFactory` subclass that periodically pings all connections in its pool. We also ensure that the `replyTimeout` param is non-null, so that we timeout waiting for the reply to those pings (and thus triggering a reconnect).
* Add an admin API for shadow-banning users. (#9209)Patrick Cloke2021-01-251-1/+0
| | | | | | | | | | This expands the current shadow-banning feature to be usable via the admin API and adds documentation for it. A shadow-banned users receives successful responses to their client-server API requests, but the events are not propagated into rooms. Shadow-banning a user should be used as a tool of last resort and may lead to confusing or broken behaviour for the client.
* Run the linters on a consistent list of files (#9038)Richard van der Hoff2021-01-081-1/+1
| | | | | We were running some linters on some files and some on others. Extract a common setting and use it everywhere.
* Add unit test for event persister sharding (#8433)Erik Johnston2020-10-021-1/+19
|
* Track command processing as a background process (#7879)Richard van der Hoff2020-07-221-0/+1
| | | | I'm going to be doing more stuff synchronously, and I don't want to lose the CPU metrics down the sofa.
* Fix redis password support. (#7401)Erik Johnston2020-05-041-0/+3
| | | | | We forgot to set the password on the subscriber connection, as well as not calling super methods for overridden connectionMade/connectionLost functions.
* Add ability to run replication protocol over redis. (#7040)Erik Johnston2020-04-221-0/+40
This is configured via the `redis` config options.