From eaf8907696a7b5ae0b1411f0770f59c0ed5f9fc4 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 23 Aug 2016 15:48:55 -0300 Subject: [doc] improve SQLITE_MAX_VARIABLE_NUMBER comments --- client/src/leap/soledad/client/encdecpool.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client/src') 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, -- cgit v1.2.3