Ben Still wrote:
Hi everyone,
we've found the cause of the timeouts we were having when leaving a page open for too long. It turned out to be a memcache setting in production.rb

config.action_controller.session_store = :mem_cache_store
ActionController::Base.session_options[:expires] = 1800

I was going to add this in to the Troubleshooting section of the Reboot, but wasn't quite sure as it isn't actually Radiant issue as such. This setting isn't in production.rb by default -it was something that we had added in at some point.

Ben, as regards whether this should go in to the Summer Reboot, you're right, it is a bit specific to the way that you were doing things. My guess is that it won't make sense till the reason why you made the change is explained. I see 2 ways:
* It doesn't seem to belong in Troubleshooting - so just let it be
* If you ever get the chance to explain why use mem_cache and set the expiry settings, it might make sense as a small article of its own.

But, it seems like it currently targets a very small group of people. At some point, if we have something about sessions, as used in Radiant, it would be good to have this.

Cheers,
Mohit.
8/19/2008 | 9:38 AM.


_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to