diff options
author | Erik Johnston <erik@matrix.org> | 2015-03-20 15:59:18 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-03-20 15:59:18 +0000 |
commit | dc0c989ef43ecfe3b4159e0cf16c50a7f38c1f20 (patch) | |
tree | 1ca0cdc43de15f154d3049af20b276398168d311 /synapse/storage/__init__.py | |
parent | Start removing Tables (diff) | |
download | synapse-dc0c989ef43ecfe3b4159e0cf16c50a7f38c1f20.tar.xz |
Give sensible names for '_simple_...' transactions
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index 4295f7348e..76e7bdfaed 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -83,7 +83,8 @@ class DataStore(RoomMemberStore, RoomStore, "ip": ip, "user_agent": user_agent, "last_seen": int(self._clock.time_msec()), - } + }, + desc="insert_client_ip", ) def get_user_ip_and_agents(self, user): @@ -93,6 +94,7 @@ class DataStore(RoomMemberStore, RoomStore, retcols=[ "device_id", "access_token", "ip", "user_agent", "last_seen" ], + desc="get_user_ip_and_agents", ) |