diff options
author | drebs <drebs@leap.se> | 2015-05-22 16:59:58 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2015-05-22 16:59:58 -0300 |
commit | 478dd0eba5129e2e68c85b7b93561bf9f9de2f19 (patch) | |
tree | e1dbea24383f0ab3480022c1baf8fa49642610b5 /client/changes/bug_6625_retry-on-sqlcipher-thread-timeout | |
parent | 33fa691e1df4d64d10313d5d192b3c064aafadb7 (diff) |
[refactor] remove inline enc/dec from client pool
The whole idea of the encrypter/decrypter pool is to be able to use multiple
cores to allow parallel encryption/decryption. Previous to this commit, the
encryptor/decryptor pools could be configured to not use workers and instead
do encryption/decryption inline. That was meant for testing purposes and
defeated the purpose of the pools.
This commit removes the possibility of inline encrypting/decrypting when using
the pools. It also refactors the enc/dec pool code so any failures while using
the pool are correctly grabbed and raised to the top of the sync deferred
chain.
Diffstat (limited to 'client/changes/bug_6625_retry-on-sqlcipher-thread-timeout')
0 files changed, 0 insertions, 0 deletions