Remove the timeout when reindexing spaces

This was supposed to be removed with #3213 but was either missed or lost
in a rebase.
This commit is contained in:
André Duffeck committed 2026-09-16 10:14:52 +02:00
1 parent a6f8777001
commit fe5fd66cb6
1 file changed
-3
-3
View File
@@ -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,