#63 ✓resolved
Chris McGrath

Setting ttl in config/memcached.yml has no effect

Reported by Chris McGrath | July 12th, 2007 @ 11:42 PM

config/memcached.yml

defaults:

ttl: 3600

readonly: false

urlencode: false

c_threshold: 10000

compression: true

debug: false

namespace: app

sessions: true

fragments: false

servers: localhost:11211

benchmarking: true

development:

servers: localhost:11211

debug: true

  1. turn off caching

test: disabled

production:

benchmarking: true

debug: true

fragments: true

servers:

- localhost:11211

But:

TheModel.cache_config => {:options=>{}, :store=><memcache:>}

And running memcached -vvv when I do:

TheModel.get_cache(1)

I see:

<3>

<7>

<7>

>7 END

<7>

>7 STORED

So just the default 1500s

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages