renames distcache -> remotecache

This commit is contained in:
bergquist
2019-03-08 20:49:16 +01:00
parent 66e71b66dd
commit 7e7427637c
13 changed files with 45 additions and 32 deletions

View File

@@ -107,7 +107,7 @@ path = grafana.db
cache_mode = private
#################################### Cache server #############################
[cache_server]
[remote_cache]
# Either "redis", "memcached" or "database" default is "database"
type = database

View File

@@ -102,6 +102,17 @@ log_queries =
# For "sqlite3" only. cache mode setting used for connecting to the database. (private, shared)
;cache_mode = private
#################################### Cache server #############################
[remote_cache]
# Either "redis", "memcached" or "database" default is "database"
;type = database
# cache connectionstring options
# database: will use Grafana primary database.
# redis: config like redis server e.g. `addr=127.0.0.1:6379,pool_size=100,db=grafana`
# memcache: 127.0.0.1:11211
;connstr =
#################################### Session ####################################
[session]
# Either "memory", "file", "redis", "mysql", "postgres", default is "file"