Skip to content

[cache] section

Cache service configuration

vcinterfacescount

Default value 1h
YAML Path cache.vcinterfacescount
Key-Value Path cache/vcinterfacescount
Environment NOC_CACHE_VCINTERFACESCOUNT

vcprefixes

Default value 1h
YAML Path cache.vcprefixes
Key-Value Path cache/vcprefixes
Environment NOC_CACHE_VCPREFIXES

cache_

Default value noc.core.cache.mongo.MongoCache
YAML Path cache.cache_
Key-Value Path cache/cache_
Environment NOC_CACHE_CACHE_

default_ttl

Default value 1d
YAML Path cache.default_ttl
Key-Value Path cache/default_ttl
Environment NOC_CACHE_DEFAULT_TTL

pool_size

Default value 8
YAML Path cache.pool_size
Key-Value Path cache/pool_size
Environment NOC_CACHE_POOL_SIZE