start ocdav delayed

Try to prevent concurrent read/write access on a global map in go-chi
This commit is contained in:
David Christofas committed 2022-04-25 17:45:02 +02:00
1 parent 4f2ea7ef44
commit 40320fbb36
1 file changed
+1 -1
+1 -1
View File
@@ -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
}