summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-05-03 00:26:33 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-05-03 00:26:33 +0100
commit50d5a97c1b3eb07deaa59f1d75f105415df0ba0d (patch)
treec8f980ae0a8c2e4d34d52e2ee7fb09383867a396 /synapse/api/constants.py
parentMerge pull request #3166 from matrix-org/dbkr/postgres_doesnt_have_ifnull (diff)
parentmissing word :| (diff)
downloadsynapse-50d5a97c1b3eb07deaa59f1d75f105415df0ba0d.tar.xz
Merge branch 'master' into dinsic
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index 489efb7f86..5baba43966 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -16,6 +16,9 @@ """Contains constants from the specification.""" +# the "depth" field on events is limited to 2**63 - 1 +MAX_DEPTH = 2**63 - 1 + class Membership(object):