Improved DB handling in LCStoreDB
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 10 Jun 2014 22:13:41 +0000 (15:13 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 1 Jul 2014 00:16:42 +0000 (17:16 -0700)
commit8d6c724ade57c776588a885b2aa5b74720bc67fa
tree4dc12b9534dee91106d30c8972a4a1d93f64e0fd
parente84a6dfd9e5e92c48736f0c8598a63a6cde2c1b3
Improved DB handling in LCStoreDB

* Only do the DB inserts in finishWrite(). Previously this would
  COMMIT there but would spread out queries throughout the set()
  calls. This pushes all the contention down to the last step.

Change-Id: Ia8afb79a8328c18a7d8a386bcd15a5074007d52e
includes/cache/LocalisationCache.php