Skip to content

Commit

Permalink
Duration order consistency when multiplying number by time unit
Browse files Browse the repository at this point in the history
  • Loading branch information
maxifom committed Jan 11, 2020
1 parent 6c800c6 commit 459b8f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reporter/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (

// defaults
const (
defaultTimeout = time.Second * 5 // timeout for http request in seconds
defaultBatchInterval = time.Second * 1 // BatchInterval in seconds
defaultTimeout = 5 * time.Second // timeout for http request in seconds
defaultBatchInterval = 1 * time.Second // BatchInterval in seconds
defaultBatchSize = 100
defaultMaxBacklog = 1000
)
Expand Down

0 comments on commit 459b8f5

Please sign in to comment.