Skip to content

Commit

Permalink
Re-export some default as vars, change default limit to 250
Browse files Browse the repository at this point in the history
  • Loading branch information
viciious authored May 27, 2024
1 parent 116ae41 commit 58afaaf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ import "time"

const (
DefaultIndex = "primary"
DefaultLimit = 100

DefaultConnectTimeout = time.Second
DefaultQueryTimeout = time.Second
)

var (
DefaultLimit = 250

DefaultConnectTimeout = time.Second
DefaultQueryTimeout = time.Second

DefaultReaderBufSize = 16 * 1024
DefaultWriterBufSize = 4 * 1024

Expand Down

0 comments on commit 58afaaf

Please sign in to comment.