summaryrefslogtreecommitdiff
path: root/status/00-status.go
diff options
context:
space:
mode:
authorHayden Hamilton <hayden@hhvn.uk>2026-06-03 16:33:56 +0100
committerHayden Hamilton <hayden@hhvn.uk>2026-06-03 16:33:56 +0100
commiteca2774bae841168afff8a435b5f8341cbdd6eb7 (patch)
tree307d88d5d83b372a8a696a25c1611781c5a207e9 /status/00-status.go
parent25cd38bb49d22ffa42008a83ae86fba405fd2e14 (diff)
Alter sleep behaviour for date()HEADmaster
// Previously this status would sleep all the way until the next day. // This worked fine until the device entered sleep/hibernation // // Therefore a limit was added. Not the ideal solution, // as if the device is woken within config.MaxSleep, // then the date will not update until some extra time has elapsed. // // TODO: a better solution if (until > config.MaxSleep) { until = config.MaxSleep } time.Sleep(until)
Diffstat (limited to 'status/00-status.go')
0 files changed, 0 insertions, 0 deletions