summary refs log tree commit diff
path: root/scripts-dev/mypy_synapse_plugin.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@element.io>2025-05-19 13:36:30 +0100
committerGitHub <noreply@github.com>2025-05-19 13:36:30 +0100
commit67920c0aca6bb23f76390fa4827ce2e6e1889547 (patch)
tree05fd7d85eaf7a73b71841ef01229231853499b5d /scripts-dev/mypy_synapse_plugin.py
parentMove index creation to background update (#18439) (diff)
downloadsynapse-67920c0aca6bb23f76390fa4827ce2e6e1889547.tar.xz
Fix up the topological ordering for events above `MAX_DEPTH` (#18447)
Synapse previously did not correctly cap the max depth of an event to
the max canonical json int. This can cause ordering issues for any
events that were sent locally at the time.

This background update goes and correctly caps the topological ordering
to the new `MAX_DEPTH`.

c.f. GHSA-v56r-hwv5-mxg6

---------

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Diffstat (limited to 'scripts-dev/mypy_synapse_plugin.py')
0 files changed, 0 insertions, 0 deletions