lib/innate/cache/file_based.rb in manveru-innate-2009.04.18 vs lib/innate/cache/file_based.rb in manveru-innate-2009.05

- old
+ new

@@ -1,8 +1,11 @@ module Innate class Cache # Used by caches that serialize their contents to the filesystem. + # Right now we do not lock around write access to the file outside of the + # process, that means that all FileBased caches are not safe for use if you + # need more than one instance of your application. module FileBased attr_reader :filename def cache_setup(*args) @prefix = args.compact.join('-')