Skip to content

Commit

Permalink
Doc memcached config options
Browse files Browse the repository at this point in the history
  • Loading branch information
tsibley committed Jan 27, 2010
1 parent 44359d5 commit 5396e2e
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions lib/Jifty/CAS/Store/Memcached.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5396e2e

Please sign in to comment.