Enable the Chain Proxy cache
Codefi Orchestrate uses a caching mechanism to reduce the number of calls to the Chain Proxy. Use the following environment variables to configure the cache when starting the Orchestrate Gateway API.
tip
Configure each microservice using microservice-specific environment variables. Command line options are also available and take precedence over environment variables.
Configuration
Environment variable | Command line option | Description | Default |
---|---|---|---|
PROXY_CACHE_TTL | proxy-cache-ttl | Proxy Cache TTL duration | 0s (disabled) |
PROXY_MAXIDLECONNSPERHOST | proxy-max-idle-connections-per-host | Maximum number of open HTTP connections to a chain | 50 |