Skip to content

Commit

Permalink
Duration order consistency when multiplying number by time unit (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxifom authored and jcchavezs committed Jan 14, 2020
1 parent 6c800c6 commit ef1b344
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 ef1b344

Please sign in to comment.