Sha256: 8fc8484d2b9db4f0036796ec57deef33e10c23d52f5ab7cce3e702e6a9bd8740
Contents?: true
Size: 553 Bytes
Versions: 29
Compression:
Stored size: 553 Bytes
Contents
<% @path = "#{Rubber.root}/config/dalli.rb" %> module Rubber module Dalli module Config include ::Rails::Initializable initializer :set_dalli_cache, :before => :initialize_cache do |app| config.action_controller.perform_caching = true config.cache_store = :dalli_store, <%- rubber_instances.for_role('memcached').each do |ic| %> '<%= ic.full_name %>:<%= rubber_env.memcached_port %>', <%- end %> { :value_max_bytes => <%= rubber_env.memcached_max_slab_bytes %> } end end end end
Version data entries
29 entries across 29 versions & 1 rubygems