Migrate PurgeJobUtils callback to AutoCommitUpdate
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 17 Apr 2018 00:11:42 +0000 (17:11 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 17 Apr 2018 00:11:48 +0000 (17:11 -0700)
commit2e3dcdab2b69b1d1e166727e12f478f265ac293d
treee1349748e52e5d8a082caf7a268665ed18f34058
parentbd2b9b2a60e34909b8572502314562954b7a8859
Migrate PurgeJobUtils callback to AutoCommitUpdate

Since it calls LBFactory::commitAndWaitForReplication, blocking for
an unknown amount of time, it is a bit "heavyweight" to be the sort
of quick update that uses onTransactionIdle().

Change-Id: Ic3476de5b61a7cd5f31ba487b186f9605a3b2774
includes/jobqueue/utils/PurgeJobUtils.php