Skip to content

Commit da6b2c9

Browse files
committed
Fix #22 --batch-size of reindex command for Django 1.7
1 parent b6006a2 commit da6b2c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/management/commands/algolia_reindex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ def handle(self, *args, **options):
1919
continue
2020

2121
counts = adapter.reindex_all(
22-
batch_size=options.get('batchsize', None))
22+
batch_size=options.get('batchsize', 1000))
2323
self.stdout.write('\t* {} --> {}'.format(model.__name__, counts))

0 commit comments

Comments
 (0)