Merge "Add $wgMaxJobDBWriteDuration setting for avoiding replication lag"