summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-09 13:46:22 +0000
committerErik Johnston <erik@matrix.org>2015-02-09 13:46:22 +0000
commit24cc6979fb384ef383309b27d06985ba3a845b2b (patch)
treea2fb750a2bd42133ff7767cb2696c5918797f9c7 /synapse/app/homeserver.py
parentglob *s should probably be non-greedy (diff)
downloadsynapse-24cc6979fb384ef383309b27d06985ba3a845b2b.tar.xz
Log when we receive a request, when we send a response and how long it took to process it.
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index f20ccfb5b6..0f175ec3f4 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -67,7 +67,7 @@ class SynapseHomeServer(HomeServer):
         return ClientV2AlphaRestResource(self)
 
     def build_resource_for_federation(self):
-        return JsonResource()
+        return JsonResource(self)
 
     def build_resource_for_web_client(self):
         syweb_path = os.path.dirname(syweb.__file__)