summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util.php3
-rwxr-xr-xscripts/memcachedqueuehandler.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index d77039b74..f862d7fcc 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -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 ||
diff --git a/scripts/memcachedqueuehandler.php b/scripts/memcachedqueuehandler.php
index 6e819b41f..185b781f7 100755
--- a/scripts/memcachedqueuehandler.php
+++ b/scripts/memcachedqueuehandler.php
@@ -37,7 +37,7 @@ class MemcachedQueueHandler extends QueueHandler
{
function transport()
{
- return 'memcached';
+ return 'memcache';
}
function start() {