Usage ¶
setCacheProperty(session
: hapi.Session, cache_name
: str
, cache_property
: hapi.cacheProperty, property_value
: int
) → bool
Lets you modify specific properties of the different memory caches in the current Houdini context. This includes clearing caches, reducing their memory use, or changing how memory limits are respected by a cache.
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.
cache_name
Cache name from hapi.getActiveCacheNames.
cache_property
The specific property of the cache to modify.
property_value
The new property value.