| Index: common/proto/logdog/services/config.pb.go
|
| diff --git a/common/proto/logdog/services/config.pb.go b/common/proto/logdog/services/config.pb.go
|
| index 370254d0fc36ff8ad6963176a4416b991bf26a05..809f688b856d63b57c775a1b2fd5e34756a84d7e 100644
|
| --- a/common/proto/logdog/services/config.pb.go
|
| +++ b/common/proto/logdog/services/config.pb.go
|
| @@ -22,6 +22,7 @@ package services
|
| 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,8 @@ 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 amount of time that cached stream state is valid.
|
| + StateCacheExpiration *google_protobuf.Duration `protobuf:"bytes,3,opt,name=state_cache_expiration" json:"state_cache_expiration,omitempty"`
|
| }
|
|
|
| func (m *Collector) Reset() { *m = Collector{} }
|
| @@ -102,6 +105,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), "services.Config")
|
| proto.RegisterType((*Coordinator)(nil), "services.Coordinator")
|
| @@ -109,20 +119,24 @@ func init() {
|
| }
|
|
|
| var fileDescriptor0 = []byte{
|
| - // 240 bytes of a gzipped FileDescriptorProto
|
| - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x5c, 0x90, 0xc1, 0x4e, 0x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 0xc0, 0x0c,
|
| - 0xf0, 0x98, 0x37, 0x67, 0xfe, 0xf1, 0x22, 0x7f, 0x06, 0x31, 0x56, 0xf8, 0xcc, 0x1f, 0xe2, 0x4f,
|
| - 0xc3, 0x36, 0x64, 0x9e, 0xe2, 0x0d, 0xac, 0xc7, 0x9b, 0x54, 0x11, 0x9d, 0x78, 0xf4, 0xba, 0x08,
|
| - 0x07, 0x7c, 0xfa, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x68, 0x2a, 0x3b, 0xb0, 0x7a, 0x01, 0x00, 0x00,
|
| + // 289 bytes of a gzipped FileDescriptorProto
|
| + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x5c, 0x90, 0xcf, 0x4e, 0xf3, 0x30,
|
| + 0x10, 0xc4, 0xd5, 0xef, 0x13, 0x2d, 0xd9, 0x80, 0x4a, 0x0d, 0x45, 0x6e, 0x0f, 0x08, 0xe5, 0x80,
|
| + 0x10, 0x07, 0x57, 0x82, 0x13, 0xe7, 0xf0, 0x06, 0xf4, 0x1e, 0xb9, 0x8e, 0x9b, 0x1a, 0x42, 0x36,
|
| + 0x5a, 0x3b, 0xc0, 0x23, 0xf1, 0x98, 0x24, 0xce, 0xbf, 0x8a, 0xa3, 0xf7, 0x37, 0x3b, 0xe3, 0x1d,
|
| + 0x38, 0x53, 0x58, 0xec, 0x4d, 0x26, 0x4a, 0x42, 0x87, 0xec, 0xd4, 0x6a, 0xfa, 0x34, 0x4a, 0xdb,
|
| + 0xf5, 0xdc, 0x91, 0x2c, 0x6c, 0x89, 0xe4, 0x5a, 0xb4, 0x3e, 0xb7, 0x0e, 0x49, 0x66, 0xba, 0x7b,
|
| + 0xde, 0x64, 0x88, 0x59, 0xae, 0x37, 0xfe, 0xb5, 0xab, 0xf6, 0x9b, 0xb4, 0x22, 0xe9, 0x0c, 0x16,
|
| + 0x2d, 0x8f, 0x7e, 0x26, 0x30, 0x8d, 0xbd, 0x35, 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