mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-14 03:37:55 -04:00
bfc9741388
# Description of Changes The `AutoMigrateStep::DisconnectAllUsers` step is implemented as follows: 1. The `spacetimedb::db::update::update_database` function returns a response of type `UpdateDatabaseResult::UpdatePerformedWithClientDisconnect`. 2. Upon receiving this response, the `host_controller::update_module` proceeds to drop the `watch::Sender<ModuleHost>` field within the `core::host_controller::Host` and disconnect clients. # API and ABI breaking changes NA # Expected complexity level and risk 3. Diff code is simple but It depends on the subcription logic to behave correctly. # Testing Manually. --------- Signed-off-by: Shubham Mishra <shivam828787@gmail.com> Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
⚠️ Internal Crate ⚠️
This crate is intended for internal use only. It is not stable and may change without notice.