parent
0f3912f6fd
commit
ad25acf851
@ -7,6 +7,8 @@ https://www.drupal.org/node/1754162
|
|||||||
//see https://www.drupal.org/node/1003788
|
//see https://www.drupal.org/node/1003788
|
||||||
|
|
||||||
# Modules :
|
# Modules :
|
||||||
|
Redis
|
||||||
|
- https://www.drupal.org/project/redis/issues/3074189
|
||||||
cer
|
cer
|
||||||
contentadminrelink
|
contentadminrelink
|
||||||
entityreference
|
entityreference
|
||||||
@ -23,7 +25,7 @@ node_export :
|
|||||||
- https://www.drupal.org/node/1911638
|
- https://www.drupal.org/node/1911638
|
||||||
termreferencetree
|
termreferencetree
|
||||||
?? views
|
?? views
|
||||||
views_rss_media
|
views_rss_media
|
||||||
- https://www.drupal.org/node/2472409
|
- https://www.drupal.org/node/2472409
|
||||||
- https://www.drupal.org/project/views_rss_media/issues/2149287
|
- https://www.drupal.org/project/views_rss_media/issues/2149287
|
||||||
wysiwyg
|
wysiwyg
|
||||||
|
@ -108,7 +108,7 @@ class Redis_Lock_PhpRedis extends Redis_Lock_DefaultBackend {
|
|||||||
|
|
||||||
if ($client->get($key) == $id) {
|
if ($client->get($key) == $id) {
|
||||||
$client->multi();
|
$client->multi();
|
||||||
$client->delete($key);
|
$client->del($key);
|
||||||
$client->exec();
|
$client->exec();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -131,7 +131,7 @@ class Redis_Lock_PhpRedis extends Redis_Lock_DefaultBackend {
|
|||||||
$owner = $client->get($key);
|
$owner = $client->get($key);
|
||||||
|
|
||||||
if (empty($owner) || $owner == $id) {
|
if (empty($owner) || $owner == $id) {
|
||||||
$client->delete($key);
|
$client->del($key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
diff --git a/lib/Redis/Lock/PhpRedis.php b/lib/Redis/Lock/PhpRedis.php
|
||||||
|
index f9ae845..6cf626d 100644
|
||||||
|
--- a/lib/Redis/Lock/PhpRedis.php
|
||||||
|
+++ b/lib/Redis/Lock/PhpRedis.php
|
||||||
|
@@ -108,7 +108,7 @@ class Redis_Lock_PhpRedis extends Redis_Lock_DefaultBackend {
|
||||||
|
|
||||||
|
if ($client->get($key) == $id) {
|
||||||
|
$client->multi();
|
||||||
|
- $client->delete($key);
|
||||||
|
+ $client->del($key);
|
||||||
|
$client->exec();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
@@ -131,7 +131,7 @@ class Redis_Lock_PhpRedis extends Redis_Lock_DefaultBackend {
|
||||||
|
$owner = $client->get($key);
|
||||||
|
|
||||||
|
if (empty($owner) || $owner == $id) {
|
||||||
|
- $client->delete($key);
|
||||||
|
+ $client->del($key);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user