mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-28 11:01:13 +00:00
perf: migrations bulk_size
This commit is contained in:
parent
f513eb62a6
commit
c80ca5236d
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user