blob: 2df36200acd58c88384bada3cebf7d1ea6b387fa [file] [log] [blame]
// Copyright 2017 The Goma Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package execlog
import (
"context"
gomapb "go.chromium.org/goma/server/proto/api"
)
// DefaultMaxReqMsgSize is max request message size for execlog service.
// execlog server may recives > 6MB.
// grpc's default is 4MB.
const DefaultMaxReqMsgSize = 8 * 1024 * 1024
// Service represents goma execlog service.
type Service struct {
}
// SaveLog discards execlog.
// TODO: implement saving logic to GCS?
func (s Service) SaveLog(ctx context.Context, req *gomapb.SaveLogReq) (*gomapb.SaveLogResp, error) {
return &gomapb.SaveLogResp{}, nil
}