gnupg/kbx
Werner Koch 3cccd5a83b
kbx,w32: Use shorter retry intervals for keybox_file_rename.
* kbx/keybox-util.c (keybox_file_rename): Restart retry intervals
after 800ms.
--

The common use case is that the process waiting for a rename does an
import while another process does a key listing with only short lock
periods.  Thus it does not make sense to set the final backoff time to
8s.  It would actually be okay to retry every 100ms but that would
spill the console with "waiting..." messages.  This change prints the
waiting message only every 1.5s.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-01-15 08:15:40 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am gpg: Avoid linking to Libksba 2015-08-17 16:17:19 +02:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
kbxutil.c common: Rename log and gcc attribute macros (jnlib merge). 2015-04-24 16:10:47 +02:00
keybox-blob.c Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
keybox-defs.h kbx: Implement keybox_lock for use by gpg. 2016-01-13 10:43:34 +01:00
keybox-dump.c kbx: Avoid warnings about useless assignments. 2016-01-07 19:09:15 +01:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
keybox-init.c w32: Fix deadlock introduced by keybox_file_rename. 2016-01-14 20:45:33 +01:00
keybox-openpgp.c kbx: Avoid faulty fclose in an error case. 2016-01-06 08:39:08 +01:00
keybox-search-desc.h Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
keybox-search.c kbx: Change return type of search functions to gpg_error_t. 2016-01-13 15:08:42 +01:00
keybox-update.c kbx: New function keybox_file_rename to replace rename. 2016-01-14 16:50:24 +01:00
keybox-util.c kbx,w32: Use shorter retry intervals for keybox_file_rename. 2016-01-15 08:15:40 +01:00
keybox.h kbx: New function keybox_file_rename to replace rename. 2016-01-14 16:50:24 +01:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00