Log SimulateUserActivity once per burst
Steam calls it thousands of times per hour during controller play, which made up ~98% of the journal. Log the first call and a summary with the count after 5 minutes of quiet, when the client leaves, or on shutdown.
This commit is contained in:
@@ -85,7 +85,7 @@ journalctl --user -u xautolock-inhibit
|
||||
## Limitations
|
||||
|
||||
- Restarting the daemon loses the requests it holds; apps don't send them again. Avoid restarting it while a video or game is running.
|
||||
- `SimulateUserActivity` is accepted and logged, but does nothing.
|
||||
- `SimulateUserActivity` is accepted but does nothing. Calls are logged once when a client starts sending them and once, with a count, after 5 minutes without any.
|
||||
- `GetActive` always returns `false`.
|
||||
|
||||
## License
|
||||
|
||||
Reference in New Issue
Block a user