Add value to add() call when locking
authorcsteipp <csteipp@wikimedia.org>
Fri, 10 May 2013 18:19:31 +0000 (11:19 -0700)
committercsteipp <csteipp@wikimedia.org>
Fri, 10 May 2013 19:42:16 +0000 (12:42 -0700)
commitd02b5bd7f762014d379b096a6ba87a2375f74372
treec078f0fc9b1c08ca1f2b592b99267efb11fa0179
parentdfaf583d83d513631c7006659be0ab252a8c7c7d
Add value to add() call when locking

When BagOStuff::lock() was called, it called $this->add() with only
two parameters, the key and the timeout. But BagOStuff::add() takes
three parameters (key, value, timeout), so all locks got an infinite
timeout.

Change-Id: I82bed11b0b799f2cda13a8a0bd0cd94908b6ce8e
includes/objectcache/BagOStuff.php