perf: migrations bulk_size

pull/15036/head
wangruidong 2025-03-14 14:56:00 +08:00
parent f513eb62a6
commit bfddcf77fa
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')