diff --git a/ocis-pkg/natsjsregistry/registry.go b/ocis-pkg/natsjsregistry/registry.go index 8be5d02d82..857b4e5198 100644 --- a/ocis-pkg/natsjsregistry/registry.go +++ b/ocis-pkg/natsjsregistry/registry.go @@ -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, }