| Index: common/proto/logdog/svcconfig/config.proto
|
| diff --git a/common/proto/logdog/svcconfig/config.proto b/common/proto/logdog/svcconfig/config.proto
|
| index 340c17f6b79fac5295f7ceb6dbe2e877ad74e319..f104fcd86cee37eaa268dcd201a5775abe61a06f 100644
|
| --- a/common/proto/logdog/svcconfig/config.proto
|
| +++ b/common/proto/logdog/svcconfig/config.proto
|
| @@ -8,6 +8,7 @@ package svcconfig;
|
|
|
| import "transport.proto";
|
| import "storage.proto";
|
| +import "google/protobuf/duration.proto";
|
|
|
| // Config is the overall instance configuration.
|
| message Config {
|
| @@ -44,4 +45,12 @@ message Collector {
|
|
|
| // The number of transport worker goroutines to run.
|
| int32 transport_workers = 2;
|
| +
|
| + // The maximum number of log stream states to cache locally. If <= 0, a
|
| + // default will be used.
|
| + int32 state_cache_size = 3;
|
| +
|
| + // The maximum amount of time that cached stream state is valid. If <= 0, a
|
| + // default will be used.
|
| + google.protobuf.Duration state_cache_expiration = 4;
|
| }
|
|
|