summary refs log tree commit diff
path: root/synapse/storage/database.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-04 14:00:29 +0000
committerErik Johnston <erik@matrix.org>2019-12-05 10:46:37 +0000
commit8863624f7852ffc4a261aa9d17f6f7ddb5bf0c19 (patch)
tree964dcbc48f8af62a735880eb03b57bf4dee6c9ca /synapse/storage/database.py
parentMove DB pool and helper functions into dedicated Database class (diff)
downloadsynapse-8863624f7852ffc4a261aa9d17f6f7ddb5bf0c19.tar.xz
Comments
Diffstat (limited to 'synapse/storage/database.py')
-rw-r--r--synapse/storage/database.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/storage/database.py b/synapse/storage/database.py
index c2e121a001..ac64d80806 100644
--- a/synapse/storage/database.py
+++ b/synapse/storage/database.py
@@ -211,6 +211,11 @@ class PerformanceCounters(object):
 
 
 class Database(object):
+    """Wraps a single physical database and connection pool.
+
+    A single database may be used by multiple data stores.
+    """
+
     _TXN_ID = 0
 
     def __init__(self, hs):