diff options
author | Neil Johnson <neil@fragile.org.uk> | 2018-05-01 18:52:44 +0100 |
---|---|---|
committer | Neil Johnson <neil@fragile.org.uk> | 2018-05-01 18:52:44 +0100 |
commit | 40d1bbd257567740b9b8d08caeed4d3dae2a6aa4 (patch) | |
tree | d42e105d71b2173ee58d85e43ca4d83431188adc /synapse/api/constants.py | |
parent | Update CHANGES.rst (diff) | |
parent | changelog for 0.28.1 (diff) | |
download | synapse-40d1bbd257567740b9b8d08caeed4d3dae2a6aa4.tar.xz |
fix conflict in changelog from previous release
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): |