mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-18 17:20:28 -04:00
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:
1 parent
a6f8777001
commit
fe5fd66cb6
1 file changed
-3
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user