fix: invalidate configured_addr cache before sending transport sync message

Uncaching only after send_sync_transports() could send the sync message
from the old primary address, so other devices never switched.
This commit is contained in:
holger krekel
2026-08-01 09:58:26 +02:00
parent d97b330982
commit 3cf6b16137
+2 -1
View File
@@ -814,8 +814,9 @@ impl Context {
Ok(())
})
.await?;
send_sync_transports(self).await?;
// Invalidate the cache so the sync message cannot read a stale primary address.
self.sql.uncache_raw_config("configured_addr").await;
send_sync_transports(self).await?;
}
}
_ => {