Skip to content

Commit

Permalink
Expose the idcache configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Apr 9, 2024
1 parent 09c7b10 commit 2cb6988
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions services/storage-users/pkg/revaconfig/drivers.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@ func Posix(cfg *config.Config) map[string]interface{} {
"permissionssvc_tls_mode": cfg.Commons.GRPCClientTLS.Mode,
"treetime_accounting": true,
"treesize_accounting": true,
"idcache": map[string]interface{}{
"cache_store": cfg.IDCache.Store,
"cache_nodes": cfg.IDCache.Nodes,
"cache_database": cfg.IDCache.Database,
"cache_ttl": cfg.IDCache.TTL,
"cache_size": cfg.IDCache.Size,
"cache_disable_persistence": cfg.IDCache.DisablePersistence,
"cache_auth_username": cfg.IDCache.AuthUsername,
"cache_auth_password": cfg.IDCache.AuthPassword,
},

"watch_type": cfg.Drivers.Posix.WatchType,
"watch_path": cfg.Drivers.Posix.WatchPath,
Expand Down

0 comments on commit 2cb6988

Please sign in to comment.