chiark / gitweb /
agent: Avoid scheduled checks on socket when inotify is working.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 1 Nov 2016 04:57:44 +0000 (00:57 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 18 Sep 2017 20:41:12 +0000 (21:41 +0100)
commiteb210e8c5736335346a88f7dbdd7e1a4013de114
treeadb33b048da43e44c150c3594a693743897f5810
parent2c539240ae45215af86aa62f3bbabd885e806a47
agent: Avoid scheduled checks on socket when inotify is working.

* agent/gpg-agent.c (handle_connections): When inotify is working, we
do not need to schedule a timer to evaluate whether we control our own
socket or not.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Gbp-Pq: Topic gpg-agent-idling
Gbp-Pq: Name 0004-agent-Avoid-scheduled-checks-on-socket-when-inotify-.patch
agent/gpg-agent.c