mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-25 09:30:33 +00:00
Fixing batch size
This commit is contained in:
parent
490064cdf8
commit
ad1ddf2bff
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def populate_sort_title(apps, schema_editor):
|
|||
editions_wo_sort_title = Edition.objects.using(db_alias).filter(
|
||||
Q(sort_title__isnull=True) | Q(sort_title__exact="")
|
||||
)
|
||||
batch_size = 20
|
||||
batch_size = 50000
|
||||
start = 0
|
||||
end = batch_size
|
||||
while True:
|
||||
|
|
Loading…
Reference in a new issue