Skip to content

SleepMode throwing Errors #198

Description

@dustin-we

Hi,

When using SleepMode, I get these Errors:

An error has occurred while handling sleep mode: Time-out interval must be less than 2^32-2. (Parameter 'dueTime') Stacktrace: at System.Threading.Timer.Change(Int64 dueTime, Int64 period) at Tbot.Services.TBotMain.HandleSleepModeAsync(Object state) in /home/runner/work/TBot/TBot/TBot/Services/TBotMain.cs:line 1240 Next check at 01/01/0001 01:01:37

To me, it looks like something time-related seems to be not working correctly. But I cant find a fix.
Is happening to a friend of mine as well.

Running on Windows 11.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions