Skip to content

Commit

Permalink
fix: increase default send timeout
Browse files Browse the repository at this point in the history
We have seen reports in other clients that this timout can be too
short. Increase this to 30 seconds by default.

Semver: patch
Ref: LOG-7279
  • Loading branch information
mdeltito committed Sep 11, 2020
1 parent aa78e96 commit 3892f83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logger/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"time"
)

var (
const (
defaultIngestURL = "https://logs.logdna.com/logs/ingest"
defaultSendTimeout = 5 * time.Second
defaultSendTimeout = 30 * time.Second
defaultFlushInterval = 250 * time.Millisecond
defaultMaxBufferLen = 50
)
Expand Down

0 comments on commit 3892f83

Please sign in to comment.