diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-05-01 18:16:57 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-05-01 18:16:57 +0100 |
commit | ca7211104e0f6d08ea4f25de7b6e42e3839045d3 (patch) | |
tree | 212caa7daf269b4592ea3a35d5caf5ff2d42252e /synapse/api/constants.py | |
parent | Fixes #3135 - Replace _OpenSSLECCurve with crypto.get_elliptic_curve (#3157) (diff) | |
parent | Merge commit '33f469b' into release-v0.28.1 (diff) | |
download | synapse-ca7211104e0f6d08ea4f25de7b6e42e3839045d3.tar.xz |
Merge branch 'release-v0.28.1' into develop
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r-- | synapse/api/constants.py | 3 |
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): |