Remove lru_cache on websocket _state_diff (#90392)

This commit is contained in:
J. Nick Koston 2023-03-28 01:08:43 -10:00 committed by GitHub
parent e6c94d7854
commit de2ca31a71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,6 @@ def _state_diff_event(event: Event) -> dict:
return _state_diff(event_old_state, event_new_state)
@lru_cache(maxsize=128)
def _state_diff(
old_state: State, new_state: State
) -> dict[str, dict[str, dict[str, dict[str, str | list[str]]]]]: