Updates very delayed on frequently suspended systems (monotonic timer)

I was trying to figure out why updates/uupd were not running after many days on my laptop which I suspend frequently. Turns out this is due to using a monotonic timer. Here is the bug for those interested:

2 Likes

I’ve modified my proposal to note that maybe a ujust option to allow laptop users to override the timer service to something more appropriate to what I’ve proposed.

@inffy @j0rge Do you guys have any opinion on this? Should I instead post a proposal for that for ujust on github? Seems like a way to keep thing stable since the timer works for most people fine, but give a way for laptop users who are bursty in usage to get timely updates.

Ok this explains why my desktop was updating more often than laptop.

My recommendation would be to do one singular update to the timer logic (whatever that solution is - i think someone mentioned warning popup if no updates in a month, for example), instead of having additional ujust solution, because:

  • now there’s two ways to update and therefore two scenarios to test
  • intermittent (laptop) users shouldn’t need to be surprised why their OS isn’t updating, then search for it, and then have to find out about ujust

I think ujust is more ok for unusual or or unique needs, but OS update is relevant to everyone.

Yeah ujust is out of the question. We just ripped a lot of them off