Skip to content

GHOSTS do not wake on UtcTimeOn #334

@vydrazde

Description

@vydrazde

In v8, the handlers are not run when sleeping and UtcTimeOn time passes.

I was not able to debug this properly as I was not able to setup the local development environment, but I believe the issue is in this loop (or the loop above)

var currentTime = DateTime.UtcNow.TimeOfDay;
...
while (currentTime < timeOn || currentTime > timeOff)
{
    Sleep(handler, 60000);
}

where the currentTime does not get updated within the loop, so it becomes stuck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions