Skip to main content

Config

This class holds the configuration for the Actions service. It encapsulates settings for the HTTP server, Kubernetes integration, and various operational parameters like watch buffer size, worker count, and run service URL.

Attributes

AttributeTypeDescription
Server[ServerConfig](../../secret/config/serverconfig.md?sid=secret_config_serverconfig)HTTP server configuration.
Kubernetes[KubernetesConfig](../../secret/config/kubernetesconfig.md?sid=secret_config_kubernetesconfig)Kubernetes configuration.
WatchBufferSizeintThe buffer size for each worker's event channel, affecting how many events can be queued before processing.
WatchWorkersintThe number of parallel event-processing goroutines, where events for the same TaskAction are routed to the same worker to preserve ordering.
RunServiceURLstringThe base URL for the internal run service, used to construct full URLs for run-related operations.
RecordFilterSizeintThe size of the bloom filter used to deduplicate RecordAction calls, influencing the efficiency of duplicate record detection.