diff options
author | drebs <drebs@leap.se> | 2015-08-19 12:36:59 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2015-08-19 15:41:30 -0300 |
commit | edf54f4a2c59990c91544614d6014a900a8e3af3 (patch) | |
tree | d2fe983af9ac2ef3214dce72a8adb9f198d999ce /common/pkg | |
parent | 469136cb6018b7408e06f11131d5108c7892020d (diff) |
[bug] wait for db init on sync decrypter pool
Previous to this modification, the initialization of the sync decrypter pool
could happen concurrently with other database operations. That could cause the
pool to hang because it could be waiting for something that was mistakenly
deleted because of the wrong order of database operations.
This commit implements a standard which we already use in leap.keymanager and
leap.mail which makes some methods wait for the initialization operation
before they are actually called.
Closes: #7386
Diffstat (limited to 'common/pkg')
0 files changed, 0 insertions, 0 deletions