From fe5fd66cb6072d12636e09dc074190f0d90ce497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Wed, 16 Sep 2026 10:14:52 +0200 Subject: [PATCH] Remove the timeout when reindexing spaces This was supposed to be removed with #3213 but was either missed or lost in a rebase. --- services/search/pkg/command/index.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/services/search/pkg/command/index.go b/services/search/pkg/command/index.go index f56b2d1888..c9b27814c1 100644 --- a/services/search/pkg/command/index.go +++ b/services/search/pkg/command/index.go @@ -9,7 +9,6 @@ import ( "os" "os/signal" "syscall" - "time" "github.com/opencloud-eu/opencloud/pkg/config/configlog" searchsvc "github.com/opencloud-eu/opencloud/protogen/gen/opencloud/services/search/v0" @@ -68,8 +67,6 @@ func Index(cfg *config.Config) *cobra.Command { // gRPC stream so the server stops indexing. ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM) defer stop() - ctx, cancel := context.WithTimeout(ctx, 10*time.Minute) - defer cancel() stream, err := c.IndexSpace(ctx, &searchsvc.IndexSpaceRequest{ SpaceId: spaceFlag,