]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
8-char limit on transports
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 23 Apr 2009 10:09:08 +0000 (10:09 +0000)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 23 Apr 2009 10:09:08 +0000 (10:09 +0000)
lib/util.php
scripts/memcachedqueuehandler.php

index d77039b747b9354282973babf7a15526c978d2b6..f862d7fcc261fc3c40260f11215edd8310211ec1 100644 (file)
@@ -886,7 +886,8 @@ function common_enqueue_notice($notice)
     }
 
     if (common_config('memcached', 'enabled')) {
-        $transports[] = 'memcached';
+        // Note: limited to 8 chars
+        $transports[] = 'memcache';
     }
 
     if (common_config('inboxes', 'enabled') === true ||
index 6e819b41f130f2c2b8cc03de4a17674da2663ca7..185b781f75c47846479b040e3e5ee767e5047b2d 100755 (executable)
@@ -37,7 +37,7 @@ class MemcachedQueueHandler extends QueueHandler
 {
     function transport()
     {
-        return 'memcached';
+        return 'memcache';
     }
 
        function start() {