diff options
author | 2022-12-11 13:03:15 +0000 | |
---|---|---|
committer | 2022-12-11 13:03:15 +0000 | |
commit | cb2b2fd8058a71826f23f60036cb0232eee113c7 (patch) | |
tree | 761e6c0acc211c8ca9e8b957cd99d1e93668eebe /testrig/config.go | |
parent | [docs] Caching webfinger with nginx (#1242) (diff) | |
download | gotosocial-cb2b2fd8058a71826f23f60036cb0232eee113c7.tar.xz |
[feature] support configuring database caches (#1246)
* update config generator to support nested structs, add cache configuration options
* update envparsing test
* add cache configuration to config parse tests
* set cache configuration in testrig
* move caches to sub-cache "gts" namespace, update envparsing, add cache config docs to example config
Signed-off-by: kim <grufwub@gmail.com>
Diffstat (limited to 'testrig/config.go')
-rw-r--r-- | testrig/config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testrig/config.go b/testrig/config.go index a8526097d..a1d7e5d54 100644 --- a/testrig/config.go +++ b/testrig/config.go @@ -110,4 +110,7 @@ var testDefaults = config.Configuration{ AdvancedRateLimitRequests: 0, // disabled SoftwareVersion: "0.0.0-testrig", + + // simply use cache defaults. + Cache: config.Defaults.Cache, } |