summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erikj@element.io>2024-08-07 10:32:36 +0100
committerGitHub <noreply@github.com>2024-08-07 10:32:36 +0100
commitceb3686dcde1f22cd28cee17a0922b6a382563c2 (patch)
tree4ce63d60a82428ed54d72ff112c3bf18957ab0eb
parentSliding Sync: Add more tracing (#17514) (diff)
downloadsynapse-ceb3686dcde1f22cd28cee17a0922b6a382563c2.tar.xz
Fixup sliding sync comment (#17531)
c.f.
https://github.com/element-hq/synapse/pull/17529#discussion_r1705780925
-rw-r--r--changelog.d/17531.misc1
-rw-r--r--synapse/api/errors.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/17531.misc b/changelog.d/17531.misc
new file mode 100644
index 0000000000..25b7b36a72
--- /dev/null
+++ b/changelog.d/17531.misc
@@ -0,0 +1 @@
+Fixup comment in sliding sync implementation.
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index 99fc7eab54..e6efa7a424 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -128,7 +128,7 @@ class Codes(str, Enum):
     # MSC2677
     DUPLICATE_ANNOTATION = "M_DUPLICATE_ANNOTATION"
 
-    # MSC3575 we are telling the client they need to reset their sliding sync
+    # MSC3575 we are telling the client they need to expire their sliding sync
     # connection.
     UNKNOWN_POS = "M_UNKNOWN_POS"