diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2016-08-23 15:48:55 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2016-08-23 15:48:55 -0300 |
commit | eaf8907696a7b5ae0b1411f0770f59c0ed5f9fc4 (patch) | |
tree | f0177be920328e8c12b053fe0ef7c2134057838b | |
parent | b847ffe282fe0e08783447359cbbf745a2c8f376 (diff) |
[doc] improve SQLITE_MAX_VARIABLE_NUMBER comments
-rw-r--r-- | client/src/leap/soledad/client/encdecpool.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/encdecpool.py b/client/src/leap/soledad/client/encdecpool.py index 7be6030e..74a40931 100644 --- a/client/src/leap/soledad/client/encdecpool.py +++ b/client/src/leap/soledad/client/encdecpool.py @@ -557,7 +557,11 @@ class SyncDecrypterPool(SyncEncryptDecryptPool): sequence.append(str(next_index)) next_index += 1 if len(sequence) > 900: - break # SQLITE_LIMIT_VARIABLE_NUMBER + # 999 is the default value of SQLITE_MAX_VARIABLE_NUMBER + # if we try to query more, SQLite will refuse + # we need to find a way to improve this + # being researched in #7669 + break # Then fetch all the ones ready for insertion. if sequence: insertable_docs = yield self._get_docs(encrypted=False, |