feat(cache): redis TLS support (#1297)

This commit is contained in:
Taufik Mulyana
2022-01-18 20:16:00 +07:00
committed by GitHub
parent 02c3c3659d
commit cabd18daae
7 changed files with 108 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ func run(c Config) (err error) {
// configure cache dir
utils.SetCacheDir(c.CacheDir)
cache, err := operation.NewCache(c.CacheBackend)
cache, err := operation.NewCache(c.CacheOption)
if err != nil {
return xerrors.Errorf("server cache error: %w", err)
}