mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 06:46:24 +00:00
perf: migrations bulk_size
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user