Skip to content

Commit

Permalink
Merge pull request #3167 from dragonchaser/disable_cache
Browse files Browse the repository at this point in the history
disable cache
  • Loading branch information
dragonchaser authored Aug 22, 2022
2 parents 9c40953 + 41b12b3 commit 15d0666
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions changelog/unreleased/disable-cache.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Disable caching

We disabled the cache, because there are race condtions that cause tests to fail.

https://github.com/owncloud/ocis/issues/4251
https://github.com/cs3org/reva/pull/3167
3 changes: 2 additions & 1 deletion internal/grpc/services/gateway/storageprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,8 @@ func (s *svc) getStorageProviderClient(_ context.Context, p *registry.ProviderIn
return nil, err
}

return s.cache.StorageProviderClient(c), nil
// TODO: reinstate cache as soon there is a implementation for a non-in-memory cache
return c, nil
}

func (s *svc) getStorageRegistryClient(_ context.Context, address string) (registry.RegistryAPIClient, error) {
Expand Down

0 comments on commit 15d0666

Please sign in to comment.