Process workflow logs in batches (#4045)

This commit is contained in:
hg
2024-09-18 19:29:56 +05:00
committed by GitHub
parent 4683968925
commit 276b279b7f
21 changed files with 359 additions and 209 deletions

View File

@@ -156,7 +156,7 @@ func run(ctx context.Context, c *cli.Command, backends []types.Backend) error {
}
defer conn.Close()
client := agent_rpc.NewGrpcClient(conn)
client := agent_rpc.NewGrpcClient(ctx, conn)
agentConfigPersisted := atomic.Bool{}
grpcCtx := metadata.NewOutgoingContext(grpcClientCtx, metadata.Pairs("hostname", hostname))