fix(ocis-pkg/service): remove gobreaker lib

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2024-11-08 12:21:18 +01:00
parent 5acd24d313
commit ea726ffcca
2 changed files with 5 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
Bugfix: Remove mbreaker
The circuit breaker is not handle correctly and leads therefore to more issues than it solves. We removed it.
https://github.com/owncloud/ocis/pull/10524

View File

@@ -7,7 +7,6 @@ import (
"os"
mgrpcc "github.com/go-micro/plugins/v4/client/grpc"
mbreaker "github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker"
mtracer "github.com/go-micro/plugins/v4/wrapper/trace/opentelemetry"
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
"github.com/owncloud/ocis/v2/ocis-pkg/shared"
@@ -69,7 +68,6 @@ func NewClient(opts ...ClientOption) (client.Client, error) {
var tlsConfig *tls.Config
cOpts := []client.Option{
client.Registry(reg),
client.Wrap(mbreaker.NewClientWrapper()),
client.Wrap(mtracer.NewClientWrapper(
mtracer.WithTraceProvider(options.tp),
)),