Commit Diff
Commit:
4ca60379bdad64619a17173b32ec4d8d155a9d94
Date:
Sat Aug 13 12:31:25 2022
UTC
Message
amused-monitor: move timekeeping after initial state sync
--- contrib/amused-monitor
+++ contrib/amused-monitor
@@ -318,15 +318,15 @@ if (`uname` =~ "OpenBSD") {
pledge qw(stdio tty proc exec) or die "pledge: $!";
}
}
-
-my $tick = 0;
-my $tbefore = clock_gettime(CLOCK_MONOTONIC);
getsongs;
getnums;
getstatus;
render;
+my $tick = 0;
+my $tbefore = clock_gettime(CLOCK_MONOTONIC);
+
while ($run) {
$poll->poll(0.25);
my $now = clock_gettime(CLOCK_MONOTONIC);
Omar Polo