Make cache readTimeout configurable.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2021-11-12 15:01:37 +01:00
committed by Eric Peterson
parent da0867f952
commit ef04b09f75
5 changed files with 65 additions and 5 deletions
+6
View File
@@ -144,6 +144,12 @@ techdocs:
# to storage using the techdocs-cli, allowing long TTLs (e.g. 1 month/year)
ttl: 3600000
# (Optional) The time (in milliseconds) that the TechDocs backend will wait
# for a cache service to respond before continuing on as though the cached
# object was not found (e.g. when the cache sercice is unavailable). The
# default value is 1000
readTimeout: 500
# (Optional and Legacy) TechDocs makes API calls to techdocs-backend using this URL. e.g. get docs of an entity, get metadata, etc.
# You don't have to specify this anymore.