Method: Vips.cache_set_max

Defined in:
lib/vips.rb

.cache_set_max(size) ⇒ Object

Set the maximum number of operations that libvips should cache. Set 0 to disable the operation cache. The default is 1000.

[View source]

728
729
730
731
# File 'lib/vips.rb', line 728

def self.cache_set_max size
  vips_cache_set_max size
  cache_max
end