diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-04-23 10:09:08 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-23 10:09:08 +0000 |
commit | 1c0d82de3bb7f75649a017a7d5632a6e070876c2 (patch) | |
tree | f8e92b6774f04db2882b0f76a313503165d1bd0a | |
parent | 290ae7888c4d8dbcb703920960b10bca635563ed (diff) |
8-char limit on transports
-rw-r--r-- | lib/util.php | 3 | ||||
-rwxr-xr-x | scripts/memcachedqueuehandler.php | 2 |
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() { |