-
- Downloads
Better return type for `get_all_entities_changed` (#14604)
Help callers from using the return value incorrectly by ensuring that callers explicitly check if there was a cache hit or not.
Showing
- changelog.d/14604.bugfix 1 addition, 0 deletionschangelog.d/14604.bugfix
- synapse/handlers/appservice.py 2 additions, 2 deletionssynapse/handlers/appservice.py
- synapse/handlers/presence.py 7 additions, 5 deletionssynapse/handlers/presence.py
- synapse/handlers/sync.py 4 additions, 2 deletionssynapse/handlers/sync.py
- synapse/handlers/typing.py 4 additions, 4 deletionssynapse/handlers/typing.py
- synapse/storage/databases/main/devices.py 71 additions, 40 deletionssynapse/storage/databases/main/devices.py
- synapse/util/caches/stream_change_cache.py 37 additions, 15 deletionssynapse/util/caches/stream_change_cache.py
- tests/util/test_stream_change_cache.py 12 additions, 8 deletionstests/util/test_stream_change_cache.py
Loading
Please register or sign in to comment