Skip to content

Commit

Permalink
Merge pull request #2756 from weaveworks/2464-maximize-timeout
Browse files Browse the repository at this point in the history
maximize report publishing timeout

Fixes #2464.
  • Loading branch information
rade authored Jul 26, 2017
2 parents d9705bc + d8c747e commit 3ab48bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions probe/appclient/app_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
)

const (
httpClientTimeout = 4 * time.Second
httpClientTimeout = 12 * time.Second // a bit less than default app.window
initialBackoff = 1 * time.Second
maxBackoff = 60 * time.Second
)
Expand Down Expand Up @@ -328,7 +328,7 @@ func (c *appClient) Publish(r io.Reader, shortcut bool) error {
select {
case c.readers <- r:
default:
log.Errorf("Dropping report to %s", c.hostname)
log.Warnf("Dropping report to %s", c.hostname)
if shortcut {
return nil
}
Expand Down

0 comments on commit 3ab48bc

Please sign in to comment.