Method: Spree::AppConfiguration#inventory_cache_threshold

Defined in:
lib/spree/app_configuration.rb

#inventory_cache_thresholdInteger

Only invalidate product caches when the count on hand for a stock item falls below or rises about the inventory_cache_threshold. When undefined, the product caches will be invalidated anytime the count on hand is changed.

Returns:

  • (Integer)


162
# File 'lib/spree/app_configuration.rb', line 162

preference :inventory_cache_threshold, :integer