|
57 | 57 | tlsCert = flag.String("tls_certificate", "", "Path to server TLS certificate.")
|
58 | 58 | tlsKey = flag.String("tls_key", "", "Path to server TLS private key.")
|
59 | 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.") |
| 60 | + tesseraDeadline = flag.Duration("tessera_deadline", time.Second*10, "Deadline for Tessera requests.") |
61 | 61 | maskInternalErrors = flag.Bool("mask_internal_errors", false, "Don't return error strings with Internal Server Error HTTP responses.")
|
62 | 62 | tracing = flag.Bool("tracing", false, "If true opencensus Stackdriver tracing will be enabled. See https://opencensus.io/.")
|
63 | 63 | tracingProjectID = flag.String("tracing_project_id", "", "project ID to pass to stackdriver. Can be empty for GCP, consult docs for other platforms.")
|
@@ -108,8 +108,7 @@ func main() {
|
108 | 108 | corsHandler := cors.AllowAll().Handler(corsMux)
|
109 | 109 | http.Handle("/", corsHandler)
|
110 | 110 |
|
111 |
| - // Register handlers for all the configured logs using the correct RPC |
112 |
| - // client. |
| 111 | + // Register handlers for all the configured logs. |
113 | 112 | opts := sctfe.InstanceOptions{
|
114 | 113 | Validated: vCfg,
|
115 | 114 | Deadline: *tesseraDeadline,
|
|
0 commit comments