Configuration Reference¶
All settings can be provided via the builder, environment variables, or YAML config files. See the Pynenc configuration guide for the general mechanism.
Connection Settings — ConfigRedis¶
Shared by all Redis-backed components.
Setting |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Full Redis URL, e.g. |
|
|
|
Redis server hostname |
|
|
|
Redis server port |
|
|
|
Redis database number (0–15) |
|
|
|
Username for Redis ACL authentication |
|
|
|
Password for Redis authentication |
|
|
|
Timeout for socket read/write operations (seconds) |
|
|
|
Timeout for the initial connection (seconds) |
|
|
|
Interval between connection health checks (seconds) |
|
|
|
Maximum connection retry attempts |
|
|
|
Maximum connections in the pool |
|
|
|
Health check interval for pooled connections (seconds) |
Orchestrator Settings — ConfigOrchestratorRedis¶
Setting |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Thread pool size for resolving PENDING invocations |
|
|
|
Base delay for exponential backoff retries (seconds) |
|
|
|
Maximum delay between retries (seconds) |
State Backend Settings — ConfigStateBackendRedis¶
Setting |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Batch size for paginating through invocation collections |
Environment Variables¶
Every setting maps to PYNENC_{SETTING_UPPERCASE}:
export PYNENC_REDIS_URL="redis://localhost:6379/0"
export PYNENC_REDIS_PASSWORD="mysecret"
export PYNENC_REDIS_POOL_MAX_CONNECTIONS=50
export PYNENC_MAX_PENDING_RESOLUTION_THREADS=25
YAML Configuration¶
# pynenc.yaml
redis_url: "redis://localhost:6379/0"
redis_pool_max_connections: 50
max_pending_resolution_threads: 25
pagination_batch_size: 200