django__django-11951
bulk_create batch_size param overrides the compatible batch size calculation
Verdict: the fix is stated in the issue (Tier A).
I suggest using similar batch_size = min(batch_size, max_batch_size) if batch_size else max_batch_size logic in bulk_create as well.
The text states the fix: “I suggest using similar batch_size = min(batch_size, max_batch_size) if batch_size else max_batch_size logic in bulk_create as well.”
All SWE-bench Verified tasks · more django/django tasks · How the check works