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>
Tue, 14 Feb 2017 00:29:34 +0000 (00:29 +0000)
commit2caee1f8324a1c3f444b5a456de706642ad50b2f
tree8e4a4baa2c74c3769c585025cd7022f5a40ef46c
parent57b8e888bd13fb28630a26dda316b0e8cda3c7d0
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