We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f52144 commit 82937baCopy full SHA for 82937ba
client/cmd/logout.go
@@ -20,7 +20,7 @@ var logoutCmd = &cobra.Command{
20
21
cmd.SetOut(cmd.OutOrStdout())
22
23
- ctx, cancel := context.WithTimeout(context.Background(), time.Second*7)
+ ctx, cancel := context.WithTimeout(cmd.Context(), time.Second*15)
24
defer cancel()
25
26
conn, err := DialClientGRPCServer(ctx, daemonAddr)
shared/management/client/grpc.go
@@ -503,7 +503,7 @@ func (c *GrpcClient) Logout() error {
503
return fmt.Errorf("get server public key: %w", err)
504
}
505
506
- mgmCtx, cancel := context.WithTimeout(c.ctx, time.Second*5)
+ mgmCtx, cancel := context.WithTimeout(c.ctx, time.Second*15)
507
508
509
message := &proto.Empty{}
0 commit comments