Chromium Code Reviews| Index: common/proto/logdog/svcconfig/config.proto |
| diff --git a/common/proto/logdog/svcconfig/config.proto b/common/proto/logdog/svcconfig/config.proto |
| index 67ec6f115d7df2a0b346ab26e6888a5d52982a7a..c8e25e13e098689d1ec441a986c9d1f1d765e077 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 { |
| @@ -41,4 +42,11 @@ 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 |
|
iannucci
2016/02/05 23:41:01
nit: newline
dnj (Google)
2016/02/06 04:10:36
Done.
|
| + // default will be used. |
| + google.protobuf.Duration state_cache_expiration = 4; |
| } |