summary refs log tree commit diff
path: root/synapse/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-09-13 12:57:09 +0100
committerErik Johnston <erik@matrix.org>2018-09-13 12:57:09 +0100
commit93139a1fb8061b709e0bc62fc4f05c94940c2625 (patch)
treef0904daf581f7252fc7da428e97ac021c7004a70 /synapse/__init__.py
parentNewsfile (diff)
parentRemove some superfluous logging (#3855) (diff)
downloadsynapse-93139a1fb8061b709e0bc62fc4f05c94940c2625.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/speed_up_purge
Diffstat (limited to 'synapse/__init__.py')
-rw-r--r--synapse/__init__.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/synapse/__init__.py b/synapse/__init__.py
index 65a2b894cc..9dbe0b9f10 100644
--- a/synapse/__init__.py
+++ b/synapse/__init__.py
@@ -17,4 +17,14 @@
 """ This is a reference implementation of a Matrix home server.
 """
 
+try:
+    from twisted.internet import protocol
+    from twisted.internet.protocol import Factory
+    from twisted.names.dns import DNSDatagramProtocol
+    protocol.Factory.noisy = False
+    Factory.noisy = False
+    DNSDatagramProtocol.noisy = False
+except ImportError:
+    pass
+
 __version__ = "0.33.4"