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
| Attribute | Type | Description |
|---|---|---|
| Size | int | Max number of Resource's to be stored in the local cache. |
| ResyncInterval | config.Duration | How often to query for objects in remote service. |
| Workers | int | Workers control how many parallel workers should start up to retrieve updates about resources. |
| MaxSystemFailures | int | MaxSystemFailures defines the number of failures to fetch a task before failing the task. |