mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-10 20:02:21 +02:00
Comments
This commit is contained in:
parent
e54d7d536e
commit
b0d975e216
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ MAX_STATE_DELTA_HOPS = 100
|
|||
|
||||
|
||||
class _GetStateGroupDelta(namedtuple("_GetStateGroupDelta", ("prev_group", "delta_ids"))):
|
||||
"""Return type of get_state_group_delta that implements __len__, which lets
|
||||
us use the itrable flag when caching
|
||||
"""
|
||||
__slots__ = []
|
||||
|
||||
def __len__(self):
|
||||
|
|
Loading…
Reference in a new issue