summary refs log tree commit diff
path: root/synapse/storage/stream.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-03 16:22:35 +0000
committerErik Johnston <erik@matrix.org>2016-02-03 16:22:35 +0000
commitb84d59c5f01914fe53d2673c5c7e372f5c61d088 (patch)
tree05ef68e94da6569320bcf4800f24fbc1ba419aca /synapse/storage/stream.py
parentPreserve log context over when deferring to thread pool in media repo (diff)
downloadsynapse-b84d59c5f01914fe53d2673c5c7e372f5c61d088.tar.xz
Add descriptions
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r--synapse/storage/stream.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py
index 2c49a5e499..50436cb2d2 100644
--- a/synapse/storage/stream.py
+++ b/synapse/storage/stream.py
@@ -564,6 +564,7 @@ class StreamStore(SQLBaseStore):
             table="events",
             keyvalues={"event_id": event_id},
             retcols=("stream_ordering", "topological_ordering"),
+            desc="get_topological_token_for_event",
         ).addCallback(lambda row: "t%d-%d" % (
             row["topological_ordering"], row["stream_ordering"],)
         )