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 /client/changes/bug_7386_fix-hanging-sync | |
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 'client/changes/bug_7386_fix-hanging-sync')
-rw-r--r-- | client/changes/bug_7386_fix-hanging-sync | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/changes/bug_7386_fix-hanging-sync b/client/changes/bug_7386_fix-hanging-sync new file mode 100644 index 00000000..990aa919 --- /dev/null +++ b/client/changes/bug_7386_fix-hanging-sync @@ -0,0 +1,2 @@ + o Fix hanging sync by properly waiting db initialization on sync decrypter + pool. Closes #7686. |