URL: https://github.com/SSSD/sssd/pull/94 Title: #94: Enable {socket,dbus}-activation for responders
pbrezina commented: """ One thing I don't like about those patches is that we always recreate the idle timer. Can we get around this (maybe also for the client idle timeout)? What I have i mind is this:
1) Instead of resetting the timer, remember time(NULL) of the last communication, say `last_request_time` 2) Create a periodic timer that fires each `responder_idle_timeout / 2` 3) In the timer check that `last_request_time + responder_idle_timeout < time(NULL)`
It won't be as precise as your solution, but I don't think we need it to be but it will save us lots of memory operations. What do you think? """
See the full comment at https://github.com/SSSD/sssd/pull/94#issuecomment-263507800