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

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: 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.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;
}

Powered by Google App Engine
This is Rietveld 408576698