mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-17 08:25:27 +00:00
Process workflow logs in batches (#4045)
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user