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

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

Issue 1610993002: LogDog: Add collector service implementation. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Comments, rebase. Created 4 years, 10 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
« no previous file with comments | « common/api/logdog_coordinator/services/v1/service.pb.go ('k') | common/proto/logdog/svcconfig/config.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « common/api/logdog_coordinator/services/v1/service.pb.go ('k') | common/proto/logdog/svcconfig/config.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698