Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: common/proto/logdog/svcconfig/config.pb.go

Issue 1610993002: LogDog: Add collector service implementation. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Reorganized, cleaned up, comments, and updated for pRPC. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: common/proto/logdog/svcconfig/config.pb.go
diff --git a/common/proto/logdog/svcconfig/config.pb.go b/common/proto/logdog/svcconfig/config.pb.go
index 91882ede25293790e4c51a25add332017902ca2f..5f07665c822f21a134c0cc73faa650f1f37575c7 100644
--- a/common/proto/logdog/svcconfig/config.pb.go
+++ b/common/proto/logdog/svcconfig/config.pb.go
@@ -22,6 +22,7 @@ package svcconfig
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
+import google_protobuf "github.com/luci/luci-go/common/proto/google"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
@@ -95,6 +96,12 @@ type Collector struct {
Workers int32 `protobuf:"varint,1,opt,name=workers" json:"workers,omitempty"`
// The number of transport worker goroutines to run.
TransportWorkers int32 `protobuf:"varint,2,opt,name=transport_workers" json:"transport_workers,omitempty"`
+ // The maximum number of log stream states to cache locally. If <= 0, a
+ // default will be used.
+ StateCacheSize int32 `protobuf:"varint,3,opt,name=state_cache_size" json:"state_cache_size,omitempty"`
+ // The maximum amount of time that cached stream state is valid. If <= 0, a
+ // default will be used.
+ StateCacheExpiration *google_protobuf.Duration `protobuf:"bytes,4,opt,name=state_cache_expiration" json:"state_cache_expiration,omitempty"`
}
func (m *Collector) Reset() { *m = Collector{} }
@@ -102,6 +109,13 @@ func (m *Collector) String() string { return proto.CompactTextString(
func (*Collector) ProtoMessage() {}
func (*Collector) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
+func (m *Collector) GetStateCacheExpiration() *google_protobuf.Duration {
+ if m != nil {
+ return m.StateCacheExpiration
+ }
+ return nil
+}
+
func init() {
proto.RegisterType((*Config)(nil), "svcconfig.Config")
proto.RegisterType((*Coordinator)(nil), "svcconfig.Coordinator")
@@ -109,21 +123,25 @@ func init() {
}
var fileDescriptor0 = []byte{
- // 241 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4e, 0xc3, 0x30,
- 0x0c, 0x86, 0x55, 0x24, 0x36, 0xc5, 0x05, 0x0d, 0xac, 0x81, 0x42, 0x4f, 0xa8, 0x1c, 0x40, 0x42,
- 0xea, 0x01, 0x0e, 0x3c, 0x40, 0x1f, 0x81, 0xdd, 0xab, 0x90, 0x85, 0x52, 0x18, 0x75, 0xe5, 0x64,
- 0xe3, 0xa5, 0x78, 0x48, 0x9a, 0x94, 0x86, 0x48, 0x1c, 0xe3, 0xef, 0xf3, 0xef, 0xd8, 0x70, 0xa2,
- 0xa9, 0x7f, 0xed, 0xda, 0x6a, 0x60, 0x72, 0x84, 0xc2, 0x1e, 0xf4, 0x54, 0x28, 0x56, 0x8e, 0x55,
- 0x6f, 0x07, 0x62, 0x37, 0xb1, 0xe2, 0xd4, 0x3a, 0x62, 0xd5, 0x9a, 0xe9, 0x59, 0x7e, 0x67, 0xb0,
- 0xa8, 0x83, 0x8a, 0xb7, 0x20, 0xa2, 0x2c, 0xe1, 0x3a, 0xbb, 0xcb, 0x1f, 0xd6, 0x55, 0x4c, 0xaa,
- 0x36, 0x33, 0xc3, 0x1b, 0x58, 0xfe, 0x86, 0xc8, 0x3c, 0x68, 0x98, 0x68, 0xcf, 0x13, 0xc1, 0x7b,
- 0xc8, 0x35, 0x11, 0x6f, 0xbb, 0x5e, 0x8d, 0x15, 0xb9, 0x0e, 0xe2, 0x65, 0x22, 0xd6, 0x7f, 0xd4,
- 0x8f, 0xd6, 0xb4, 0xdb, 0x19, 0xed, 0xd5, 0x8b, 0x7f, 0xa3, 0xeb, 0x99, 0x95, 0x1b, 0xc8, 0xd3,
- 0xbe, 0x15, 0x2c, 0xc7, 0x35, 0xde, 0x47, 0x26, 0xb3, 0xb1, 0x4b, 0xa0, 0x84, 0x33, 0xb5, 0xfd,
- 0xec, 0xfa, 0x46, 0xed, 0xdd, 0x5b, 0xd3, 0x32, 0xed, 0x87, 0xb0, 0x8a, 0xc0, 0x02, 0xd0, 0x1a,
- 0x3e, 0x74, 0xda, 0xa4, 0xcc, 0xff, 0x5f, 0x94, 0x4f, 0x20, 0xe2, 0x08, 0x9f, 0xf9, 0x45, 0xfc,
- 0x61, 0xd8, 0x86, 0xcc, 0x63, 0xbc, 0x82, 0xf3, 0x78, 0x97, 0x66, 0x46, 0x47, 0x1e, 0xbd, 0x2c,
- 0xc2, 0x11, 0x1f, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x25, 0x80, 0x4f, 0x7f, 0x01, 0x00,
+ // 305 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x91, 0x41, 0x4e, 0xf3, 0x30,
+ 0x10, 0x85, 0x95, 0xff, 0x87, 0x56, 0x9e, 0x80, 0x0a, 0x56, 0xa9, 0xdc, 0x2e, 0x10, 0x2a, 0x0b,
+ 0x90, 0x90, 0x5c, 0x09, 0x56, 0xac, 0xcb, 0x0d, 0xe8, 0x3e, 0x72, 0x1d, 0x37, 0x35, 0x84, 0x4c,
+ 0x64, 0x3b, 0x05, 0x71, 0x06, 0x8e, 0xc2, 0x21, 0x49, 0xec, 0x24, 0x44, 0x62, 0xe9, 0xf9, 0xde,
+ 0xbc, 0xe7, 0x99, 0x81, 0x13, 0x89, 0xc5, 0x4e, 0x67, 0xbc, 0x34, 0xe8, 0x90, 0x12, 0x7b, 0x90,
+ 0xa1, 0xb0, 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