Skip to content
Commit f8a99005 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

bring back idle detection and rejigger timer code

timer logic is now a tad more complicated because there are multiple
scenarios that may occur. to isolate the logic from SNI management at
large there is a new class `ActivationCloseTimer` that contains all the
necessary bits to do the timings.

to also facilitate testing for the logic the new timer class is
dependency inverted from kidletime and dbus allowing us to insert duds
and not have to set up exhaustive test environments. it sucks a bit
though because it also means the actual watchers aren't tested :|
parent 9ad47c43
Pipeline #109076 passed with stage
in 2 minutes and 16 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment