Comment out table level lock (it can cause dead locks in some edge cases)
This commit is contained in:
parent
db7e4086ba
commit
42fd118658
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ class Application_Model_Preference
|
||||||
$con->beginTransaction();
|
$con->beginTransaction();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
static::_lock($con);
|
/* Comment this out while we reevaluate it in favor of a unique constraint
|
||||||
|
static::_lock($con); */
|
||||||
$userId = self::getUserId();
|
$userId = self::getUserId();
|
||||||
|
|
||||||
if ($isUserValue && is_null($userId)) {
|
if ($isUserValue && is_null($userId)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue