Skip to main content

CachingConfig

This class defines the configuration for a caching mechanism, specifying parameters such as the maximum number of resources to store, the interval for synchronizing with a remote service, and the number of parallel workers to process updates. It also includes a setting for the maximum number of system failures before a task is considered failed.

Attributes

AttributeTypeDescription
SizeintMax number of Resource's to be stored in the local cache.
ResyncIntervalconfig.DurationHow often to query for objects in remote service.
WorkersintWorkers control how many parallel workers should start up to retrieve updates about resources.
MaxSystemFailuresintMaxSystemFailures defines the number of failures to fetch a task before failing the task.