Manual:$wgMaxUserDBWriteDuration/de-formal

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