Add timeout while opening connection
This should hopefully fix an issue where instances would get stuck in a "Connecting" state after suspending the host machine or maybe just connecting it to a different wifi. I've not managed to reliably reproduce the bug, so this may not fix it at all.
This commit is contained in:
parent
373a98c26c
commit
768a259f02
3 changed files with 15 additions and 6 deletions
|
|
@ -18,15 +18,18 @@ Procedure when bumping the version number:
|
|||
- `bot::command::parse_prefix_initiated`
|
||||
- `bot::commands::Commands::fallthrough`
|
||||
- `bot::commands::Commands::set_fallthrough`
|
||||
- `conn::Error::ConnectionTimedOut`
|
||||
|
||||
### Changed
|
||||
- `bot::command::ClapCommand::execute` now returns a `Result<bool, E>` instead of a `Result<(), E>`
|
||||
- `bot::command::Command::execute` now returns a `Result<bool, E>` instead of a `Result<(), E>`
|
||||
- `bot::commands::Commands::handle_packet` now returns a `Result<bool, E>` instead of a `Result<(), E>`
|
||||
- `bot::instance::Instance` now implements `Clone`
|
||||
- `conn::Conn::connect` now returns `conn::Result`
|
||||
|
||||
### Fixed
|
||||
- `phone` and `mobile` emoji
|
||||
- Instances getting stuck in "Connecting" state
|
||||
|
||||
## v0.3.1 - 2023-02-26
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue