-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I've noticed bot stops working but doesn't crash nor shows any error when the host computer goes to sleep state and gets turned on again, it is like as if it freezes, I have to restart the bot each time that happens.
As a side note if you test this and turn pc back on too fast, it will keep working. This happens when PC stays in sleep state for some time but I am not sure how long because I discovered and confirmed this unintentionally.
Oh wow previously I didn't notice any error but this time I can see this:
Error(Io, Os { code: 10054, kind: ConnectionReset, message: "An existing connection was forcibly closed by the remote host." })
How can I prevent this, for example this doesn't happen with another crate called telegram-bot.
Metadata
Metadata
Assignees
Labels
No labels