Skip to content

Commit

Permalink
Un-mutex ShardManage
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrasnitski committed Aug 31, 2023
1 parent b5461bb commit 0cbe8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ As a result, the trait now accomodates alternative frameworks more easily, such
### Gateway

* Renamed `WsStream` to `WsClient`.
* The `ShardManagerMonitor` and `ShardManagerMessage` types have been removed. Their functionality has been replicated via methods directly on `ShardManager`. Any instances of fields or parameters with type `Sender<ShardManagerMessage>` have been replaced with `Arc<Mutex<ShardManager>>`. The new methods on `ShardManager` are the following:
* The `ShardManagerMonitor` and `ShardManagerMessage` types have been removed. Their functionality has been replicated via methods directly on `ShardManager`. Any fields with type `Sender<ShardManagerMessage>`, as well as the `Client::shard_manager` field, have had their types changed to `Arc<ShardManager>`. The new methods on `ShardManager` are the following:
- `return_with_value`
- `shutdown_finished`
- `restart_shard`
Expand Down

0 comments on commit 0cbe8af

Please sign in to comment.