Use the same read limit for children

review5121002
This commit is contained in:
Cédric Krier committed 2014-05-04 00:19:45 +02:00
1 parent a81b515c6f
commit 0d117b11e0
1 file changed
+1 -4
+1 -4
View File
@@ -73,10 +73,7 @@ class Record(SignalEvent):
record_context = self.context_get()
if loading == 'eager':
limit = CONFIG['client.limit']
if not self.parent:
# If not a children no need to load too much
limit = int(limit / len(fnames))
limit = int(CONFIG['client.limit'] / len(fnames))
def filter_group(record):
return name not in record._loaded and record.id >= 0