Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/db/directory.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/db/directory.py')
-rw-r--r--sugar_network/db/directory.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/sugar_network/db/directory.py b/sugar_network/db/directory.py
index b9fc02c..915e508 100644
--- a/sugar_network/db/directory.py
+++ b/sugar_network/db/directory.py
@@ -26,8 +26,6 @@ from sugar_network.db.metadata import IndexedProperty, StoredProperty
from sugar_network.toolkit import http, exception, enforce
-MAX_LIMIT = 2147483648
-
# To invalidate existed index on stcuture changes
_LAYOUT_VERSION = 4
@@ -216,8 +214,6 @@ class Directory(object):
params['order_by'] = '-seqno'
else:
params['order_by'] = 'seqno'
- # TODO On big requests, xapian can raise an exception on edits
- params['limit'] = MAX_LIMIT
params['no_cache'] = True
for start, end in seq: