Back off from job types longer for DB read-only errors
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 10 Dec 2016 07:26:34 +0000 (23:26 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 10 Dec 2016 07:26:34 +0000 (23:26 -0800)
commit6477026675a3da444017e4ca4464638791be7e3c
tree227594964ebc826af92e6fc9358e70212d3caee4
parent798ba89f17afb5dc26928ac543d8c019c2b9edc0
Back off from job types longer for DB read-only errors

Such error are likely to persist longer than other random
exceptions. In that case, it is better to avoid burning
through the job retry count.

Change-Id: I6785bd608856f98d21e0b0b05d3899a7081c38e2
includes/jobqueue/JobRunner.php