diff options
author | Werner Koch <[email protected]> | 2016-01-15 07:15:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-01-15 07:15:40 +0000 |
commit | 3cccd5a83b96e4558642dcdf5d974f64ebdb9817 (patch) | |
tree | f703605ce60e5793dd3ddb889d653ebea7b6d5a0 /common/argparse.c | |
parent | w32: Fix deadlock introduced by keybox_file_rename. (diff) | |
download | gnupg-3cccd5a83b96e4558642dcdf5d974f64ebdb9817.tar.gz gnupg-3cccd5a83b96e4558642dcdf5d974f64ebdb9817.zip |
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 <[email protected]>
Diffstat (limited to 'common/argparse.c')
0 files changed, 0 insertions, 0 deletions