From 40320fbb3692bbe53381dedf453f1e84a8c6b83e Mon Sep 17 00:00:00 2001 From: David Christofas Date: Mon, 25 Apr 2022 17:45:02 +0200 Subject: [PATCH] start ocdav delayed Try to prevent concurrent read/write access on a global map in go-chi --- ocis/pkg/runtime/service/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocis/pkg/runtime/service/service.go b/ocis/pkg/runtime/service/service.go index b398083f67..e7ca1fc71e 100644 --- a/ocis/pkg/runtime/service/service.go +++ b/ocis/pkg/runtime/service/service.go @@ -120,7 +120,6 @@ func NewService(options ...Option) (*Service, error) { s.ServicesRegistry["web"] = web.NewSutureService s.ServicesRegistry["webdav"] = webdav.NewSutureService s.ServicesRegistry["storage-frontend"] = frontend.NewFrontend - s.ServicesRegistry["ocdav"] = ocdav.NewOCDav s.ServicesRegistry["storage-gateway"] = gateway.NewGateway s.ServicesRegistry["storage-userprovider"] = user.NewUserProvider s.ServicesRegistry["storage-groupprovider"] = group.NewGroupProvider @@ -137,6 +136,7 @@ func NewService(options ...Option) (*Service, error) { s.Delayed["storage-sharing"] = sharing.NewSharing s.Delayed["accounts"] = accounts.NewSutureService s.Delayed["proxy"] = proxy.NewSutureService + s.Delayed["ocdav"] = ocdav.NewOCDav return s, nil }