@@ -53,12 +53,11 @@ var (
53
53
notAfterStart timestampFlag
54
54
notAfterLimit timestampFlag
55
55
56
- httpEndpoint = flag .String ("http_endpoint" , "localhost:6962" , "Endpoint for HTTP (host:port)." )
57
- tlsCert = flag .String ("tls_certificate" , "" , "Path to server TLS certificate." )
58
- tlsKey = flag .String ("tls_key" , "" , "Path to server TLS private key." )
59
- metricsEndpoint = flag .String ("metrics_endpoint" , "" , "Endpoint for serving metrics; if left empty, metrics will be visible on --http_endpoint." )
60
- // TODO(phboneff): delete / rename
61
- rpcDeadline = flag .Duration ("rpc_deadline" , time .Second * 10 , "Deadline for backend RPC requests." )
56
+ httpEndpoint = flag .String ("http_endpoint" , "localhost:6962" , "Endpoint for HTTP (host:port)." )
57
+ tlsCert = flag .String ("tls_certificate" , "" , "Path to server TLS certificate." )
58
+ tlsKey = flag .String ("tls_key" , "" , "Path to server TLS private key." )
59
+ metricsEndpoint = flag .String ("metrics_endpoint" , "" , "Endpoint for serving metrics; if left empty, metrics will be visible on --http_endpoint." )
60
+ tesseraDeadline = flag .Duration ("tessera_deadline" , time .Second * 10 , "Deadline for backend RPC requests." )
62
61
maskInternalErrors = flag .Bool ("mask_internal_errors" , false , "Don't return error strings with Internal Server Error HTTP responses." )
63
62
tracing = flag .Bool ("tracing" , false , "If true opencensus Stackdriver tracing will be enabled. See https://opencensus.io/." )
64
63
tracingProjectID = flag .String ("tracing_project_id" , "" , "project ID to pass to stackdriver. Can be empty for GCP, consult docs for other platforms." )
@@ -113,7 +112,7 @@ func main() {
113
112
// client.
114
113
opts := sctfe.InstanceOptions {
115
114
Validated : vCfg ,
116
- Deadline : * rpcDeadline ,
115
+ Deadline : * tesseraDeadline ,
117
116
MetricFactory : prometheus.MetricFactory {},
118
117
RequestLog : new (sctfe.DefaultRequestLog ),
119
118
MaskInternalErrors : * maskInternalErrors ,
0 commit comments