Change it back, because it's not working right.
All checks were successful
continuous-integration/laminar-elessar Build 76 succeeded in 44 seconds .
All checks were successful
continuous-integration/laminar-elessar Build 76 succeeded in 44 seconds .
This commit is contained in:
parent
49316836d9
commit
23a9fa3ed7
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ namespace RhinoReminds
|
||||||
if (DateTime.Now < nextReminder.Time)
|
if (DateTime.Now < nextReminder.Time)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"[Rhino/Reminderd] Sleeping for {nextWaitingTime}");
|
Console.WriteLine($"[Rhino/Reminderd] Sleeping for {nextWaitingTime}");
|
||||||
await Task.Delay((int)Math.Ceiling(Math.Abs(nextWaitingTime.TotalMilliseconds)), reminderWatcherResetToken);
|
await Task.Delay(nextWaitingTime, reminderWatcherResetToken);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue