Project

General

Profile

« Previous | Next » 

Revision 88824e07

Added by Ohad Levy over 11 years ago

  • ID 88824e07f1f7e290d1c7f06b8307430c0bfed3ea

refs #1991 - Cache not cleared prevent location / org feature to show up

1. ensures settings cache is removed when app starts
we can't remove all cache, with Rails.cache.clear as that might lead to issues
with people using memcache with multiple foreman instances (e.g. we can clear
the progress bar cache while restarting another foreman instance).

The other alternative is to put a TTL on the settings, but I think this
option for this specific case makes more sense.

2. fixed the cache directory, from /tmp to /tmp/cache.

  • added
  • modified
  • copied
  • renamed
  • deleted