mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-11 14:27:48 +00:00
When the state sets agree there is nothing to read or resolve. The handler now separates the state under the GIL and, without conflicts, returns an already-fired deferred instead of checking out a connection and hopping through the tokio runtime. This also keeps the common path synchronous, as the Python one is: test_failed_partial_join_is_clean checks the partial-state flag right after the join fails, and the resync that clears it resolves zero state groups. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ULdieJyQoHNzeHq42H2M1p