flakas/Latte — pull request #7 by Settis (2014-05-07 21:12:18+00:00)
Title: User inactive check

I've implemented user inactive checker.
Let's me describe:
- you have new parameter into config 'user_inactive_threshold' it's time in seconds
- if user not active more than threshold Latte minus time and don't track more.

E.g. if you start some program in 1:00, work for 1 minute and then go away, so in 1:07 you have 7 minutes logged for the program and 6 minutes as user inactive time (it's default value for threshold). Then latte minus 6 minutes from log and store only 1 minute.
I think it is fair, is not it?