Closed matthias-bb closed 10 months ago
Thats not a bug, Lifetime is only checked during app switches. Awtrix was not designed to display only one screen, so it was made this way so that i don't have to check the lifetime every second and possibly lead to jerking while an app is active
That would have been nice to be able to delete a single app in this manner. I upvote for this feature request.
Bug report
Describe the bug
When I start a custom app using "lifetimeMode=1" (app gets marked as staled after defined lifetime) it only gets marked as staled if an app switch occurs (more than one app is active and auto transition is enabled or app switch is forced by pressing left or right key).
Additional information
To Reproduce
Disable the native apps and start a custom app with lifetime=10 and lifetimeMode=1.
Expected behavior
After the given lifetime of 10 seconds I expect the app to get marked as staled.
Additional context
I am currently using the clock to monitor that my Raspberry Pi is up & running. Therefore I use a cron job which periodically updates a "pi alive" custom app via http. If this is the only app being displayed it never turns to staled even if my Raspberry is not alive anymore.