diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2016-02-11 19:22:34 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2016-02-23 14:37:27 -0300 |
commit | 3e465c7a38c0bd18209b35ee29872d09cee4a7e0 (patch) | |
tree | 0f4f0513a25666b6778e0a69ec0c963650668e05 /keymanager/changes | |
parent | 9b0689a7eafe0c2e073059cfd2f1ffedd203437a (diff) |
[feat] defer decrypt, gen_key and encrypt
This commit put those gnupg operations to be run on external threads
limited by the amount of cores present on user machine.
Some gnupg calls spawn processes and communicating to them is a
synchronous operation, so running outside of a reactor should improve
response time by avoiding reactor locking.
Diffstat (limited to 'keymanager/changes')
-rw-r--r-- | keymanager/changes/async_gpg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/keymanager/changes/async_gpg b/keymanager/changes/async_gpg new file mode 100644 index 0000000..59d4d41 --- /dev/null +++ b/keymanager/changes/async_gpg @@ -0,0 +1 @@ +-- Defer encrypt, decrypt and gen_key operations from gnupg to external threads, limited by cpu core amount. |