Manual:$wgMaxJobDBWriteDuration

Performance hacks and limits: $wgMaxJobDBWriteDuration
Max time (in seconds) a job-generated transaction can spend in writes.
Introduced in version:1.30.0 (Gerrit change 355651; git #I4949bb9)
Removed in version:still in use
Allowed values:(boolean)
Default value:false

Details edit

If exceeded, the transaction is rolled back with an error instead of being committed.