Index: engines/memcache.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cacherouter/engines/memcache.php,v
retrieving revision 1.1.2.9
diff -u -p -r1.1.2.9 memcache.php
--- engines/memcache.php	27 Dec 2008 05:23:50 -0000	1.1.2.9
+++ engines/memcache.php	5 Apr 2009 18:57:27 -0000
@@ -182,9 +182,9 @@ class memcacheCache extends Cache {
     // Lock once by trying to add lock file, if we can't get the lock, we will loop
     // for 3 seconds attempting to get lock.  If we still can't get it at that point,
     // then we give up and return FALSE.
-    if ($this->memcache->add($this->lock, $this->settings['compress'], 0) === FALSE) {
+    if ($this->memcache->add($this->lock, 1, FALSE, 1) === FALSE) {
       $time = time();
-      while ($this->memcache->add($this->lock, $this->settings['compress'], 0) === FALSE) {
+      while ($this->memcache->add($this->lock, 1, FALSE, 1) === FALSE) {
         if (time() - $time >= 3) {
           return FALSE;
         }
@@ -194,7 +194,7 @@ class memcacheCache extends Cache {
   }
   
   function unlock() {
-    return $this->memcache->delete($this->lock);
+    return $this->memcache->delete($this->lock, 0);
   }
   
   function connect() {
