Home GnuPG
Diffusion GnuPG 5b0ed7674dc7

gpg: When the TOFU DB is in batch mode, periodically drop the locks.
5b0ed7674dc7Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: When the TOFU DB is in batch mode, periodically drop the locks.

* g10/tofu.c: Include <sched.h>.
(batch_update_started): New variable.
(begin_transaction): If we've been in batch mode for a while, then
commit any extant batch transactions.
(tofu_begin_batch_update): If we are not in batch mode, initialize
batch_update_started.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Oct 26 2015, 1:36 PM
Parents
rG5e7ac031f513: dirmngr: Add workaround for broken getaddrinfo.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG5b0ed7674dc7: gpg: When the TOFU DB is in batch mode, periodically drop the locks. (authored by Neal H. Walfield <neal@g10code.com>).Oct 26 2015, 1:41 PM