diff options
author | Erik Johnston <erik@matrix.org> | 2020-09-02 15:48:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 15:48:37 +0100 |
commit | 82c1ee1c22a87b9e6e3179947014b0f11c0a1ac3 (patch) | |
tree | d88dd5779540ea4bdd39450d18c7a73d02d1f4b3 /synapse/config/_base.pyi | |
parent | Add /user/{user_id}/shared_rooms/ api (#7785) (diff) | |
download | synapse-82c1ee1c22a87b9e6e3179947014b0f11c0a1ac3.tar.xz |
Add experimental support for sharding event persister. (#8170)
This is *not* ready for production yet. Caveats: 1. We should write some tests... 2. The stream token that we use for events can get stalled at the minimum position of all writers. This means that new events may not be processed and e.g. sent down sync streams if a writer isn't writing or is slow.
Diffstat (limited to 'synapse/config/_base.pyi')
-rw-r--r-- | synapse/config/_base.pyi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/_base.pyi b/synapse/config/_base.pyi index eb911e8f9f..b8faafa9bd 100644 --- a/synapse/config/_base.pyi +++ b/synapse/config/_base.pyi @@ -142,3 +142,4 @@ class ShardedWorkerHandlingConfig: instances: List[str] def __init__(self, instances: List[str]) -> None: ... def should_handle(self, instance_name: str, key: str) -> bool: ... + def get_instance(self, key: str) -> str: ... |