[Jifty-commit] jifty branch, cas-memcached, updated. 5396e2e35b96b0aebc9f3086b0b90e12f57aeea8
Jifty commits
jifty-commit at lists.jifty.org
Tue Jan 26 22:48:45 EST 2010
The branch, cas-memcached has been updated
via 5396e2e35b96b0aebc9f3086b0b90e12f57aeea8 (commit)
from 44359d5a34b95bcd2acf238f6d3eff815c235f03 (commit)
Summary of changes:
lib/Jifty/CAS/Store/Memcached.pm | 27 ++++++++++++++++++++++-----
1 files changed, 22 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 5396e2e35b96b0aebc9f3086b0b90e12f57aeea8
Author: Thomas Sibley <trs at bestpractical.com>
Date: Tue Jan 26 22:48:40 2010 -0500
Doc memcached config options
diff --git a/lib/Jifty/CAS/Store/Memcached.pm b/lib/Jifty/CAS/Store/Memcached.pm
index de429e2..b4ca792 100644
--- a/lib/Jifty/CAS/Store/Memcached.pm
+++ b/lib/Jifty/CAS/Store/Memcached.pm
@@ -12,16 +12,33 @@ Content-Addressable Storage facility
=head1 SYNOPSIS
-Add the following to your Jifty config.yml:
+At the bare minimum, add the following to your Jifty config.yml:
framework:
CAS:
- BaseClass: Jifty::CAS::Store::Memcached
+ BaseClass: 'Jifty::CAS::Store::Memcached'
+
+The options available include:
+
+ framework:
+ CAS:
+ BaseClass: 'Jifty::CAS::Store::Memcached'
+ Memcached:
+ # any options Cache::Memcached supports
+ servers:
+ - 10.0.0.2:11211
+ - 10.0.0.3:11211
+ compress_threshold: 5120
+
+ # Turned on by default. Keeps CAS working when memcached fails by
+ # falling back to the default in-process store. It probably should
+ # be turned off in most cases (like so) after successful testing.
+ MemcachedFallback: 0
=head1 DESCRIPTION
-This is a memcached backend for L<Jifty::CAS>. For more information, see
-L<Jifty::CAS/DESCRIPTION>.
+This is a memcached backend for L<Jifty::CAS>. For more information about
+Jifty's CAS, see L<Jifty::CAS/DESCRIPTION>.
=cut
@@ -133,7 +150,7 @@ C</framework/CAS/Memcached> like so:
framework:
CAS:
- BaseClass: Jifty::CAS::Store::Memcached
+ BaseClass: 'Jifty::CAS::Store::Memcached'
Memcached:
servers:
- 10.0.0.2:11211
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list