mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-21 13:09:10 -06:00
use inmemory natsjskv registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
@@ -31,7 +31,7 @@ func NewRegistry(opts ...registry.Option) registry.Registry {
|
||||
exp, _ := options.Context.Value(expiryKey{}).(time.Duration)
|
||||
return &storeregistry{
|
||||
opts: options,
|
||||
store: natsjskv.NewStore(storeOptions(options)...),
|
||||
store: natsjskv.NewStore(append(storeOptions(options), natsjskv.DefaultMemory())...),
|
||||
typ: _registryName,
|
||||
expiry: exp,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user