perf: migrations bulk_size

pull/15038/head
wangruidong 2025-03-14 14:56:00 +08:00 committed by w940853815
parent f513eb62a6
commit c80ca5236d
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ from django.db import migrations, models
def migrate_execution_type(apps, schema_editor):
count = 0
bulk_size = 1000
bulk_size = 100
while True:
start = time.time()
execution_model = apps.get_model('assets', 'AutomationExecution')