use inmemory cache by default

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2023-12-13 12:47:59 +01:00
parent ad87ac955a
commit d62cb9d34b
7 changed files with 9 additions and 9 deletions

View File

@@ -94,19 +94,19 @@ func DefaultConfig() *config.Config {
EnableTLS: false,
},
StatCache: config.StatCache{
Store: "nats-js-kv",
Store: "memory",
Nodes: []string{"127.0.0.1:9233"},
Database: "ocis",
TTL: 300 * time.Second,
},
FilemetadataCache: config.FilemetadataCache{
Store: "nats-js-kv",
Store: "memory",
Nodes: []string{"127.0.0.1:9233"},
Database: "cache-filemetadata",
TTL: 24 * 60 * time.Second,
},
IDCache: config.IDCache{
Store: "nats-js-kv",
Store: "memory",
Nodes: []string{"127.0.0.1:9233"},
Database: "ids-storage-users",
TTL: 24 * 60 * time.Second,