diff options
author | Erik Johnston <erik@matrix.org> | 2017-06-09 11:39:35 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-06-09 11:44:01 +0100 |
commit | eed59dcc1efdda95ea2deaad6dd8b70e5d346a6e (patch) | |
tree | bedbae765a51c4660b0ffcf567cc570b528279b9 /scripts | |
parent | Merge pull request #2263 from matrix-org/erikj/fix_state_woes (diff) | |
download | synapse-eed59dcc1efdda95ea2deaad6dd8b70e5d346a6e.tar.xz |
Fix has_any_entity_changed
Occaisonally has_any_entity_changed would throw the error: "Set changed size during iteration" when taking the max of the `sorteddict`. While its uncertain how that happens, its quite inefficient to iterate over the entire dict anyway so we change to using the more traditional `bisect_*` functions.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions