Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit f81d98c

Browse files
authored
Change default timeout to match ingestion (#285)
1 parent 874b309 commit f81d98c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stackdriver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ type Options struct {
253253
// or the unit is not important.
254254
SkipCMD bool
255255

256-
// Timeout for all API calls. If not set, defaults to 5 seconds.
256+
// Timeout for all API calls. If not set, defaults to 12 seconds.
257257
Timeout time.Duration
258258

259259
// ReportingInterval sets the interval between reporting metrics.
@@ -287,7 +287,7 @@ type Options struct {
287287
UserAgent string
288288
}
289289

290-
const defaultTimeout = 5 * time.Second
290+
const defaultTimeout = 12 * time.Second
291291

292292
var defaultDomain = path.Join("custom.googleapis.com", "opencensus")
293293

0 commit comments

Comments
 (0)