diff options
author | Erik Johnston <erik@matrix.org> | 2020-01-22 10:37:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 10:37:00 +0000 |
commit | 5d7a6ad2238981646b2ae7b4071d8715281d181a (patch) | |
tree | 96eb244b6a5ed33ba95ce8df37d98313c88b80ef /docs/tcp_replication.md | |
parent | Remove unused CI docker compose files (#6754) (diff) | |
download | synapse-5d7a6ad2238981646b2ae7b4071d8715281d181a.tar.xz |
Allow streaming cache invalidate all to workers. (#6749)
Diffstat (limited to 'docs/tcp_replication.md')
-rw-r--r-- | docs/tcp_replication.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/tcp_replication.md b/docs/tcp_replication.md index a0b1d563ff..e3a4634b14 100644 --- a/docs/tcp_replication.md +++ b/docs/tcp_replication.md @@ -254,6 +254,11 @@ and they key to invalidate. For example: > RDATA caches 550953771 ["get_user_by_id", ["@bob:example.com"], 1550574873251] +Alternatively, an entire cache can be invalidated by sending down a `null` +instead of the key. For example: + + > RDATA caches 550953772 ["get_user_by_id", null, 1550574873252] + However, there are times when a number of caches need to be invalidated at the same time with the same key. To reduce traffic we batch those invalidations into a single poke by defining a special cache name that |