aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2017-11-08 15:26:40 +0000
committerWerner Koch <[email protected]>2018-08-28 14:41:47 +0000
commit1189df2cd7d4b6896ba22aa204c159ff2a425ead (patch)
treef8fdd732752d499c6260147a8e9b778eb9254e99 /dirmngr/dirmngr.c
parentassuan: Reorganize waiting for socket. (diff)
downloadgnupg-1189df2cd7d4b6896ba22aa204c159ff2a425ead.tar.gz
gnupg-1189df2cd7d4b6896ba22aa204c159ff2a425ead.zip
assuan: Use exponential decay for first 1s of spinlock.
* common/asshelp.c (wait_for_sock): instead of checking the socket every second, we check 10 times in the first second (with exponential decay). -- This cuts the wall clock time for the standard test suite roughly by half. GnuPG-bug-id: 3490 Signed-off-by: Daniel Kahn Gillmor <[email protected]> (cherry picked from commit 149041b0b917f4298239fe18b5ebd5ead71584a6)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions