Skip to content

Commit 58afaaf

Browse files
authored
Re-export some default as vars, change default limit to 250
1 parent 116ae41 commit 58afaaf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

defaults.go

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ import "time"
44

55
const (
66
DefaultIndex = "primary"
7-
DefaultLimit = 100
87

9-
DefaultConnectTimeout = time.Second
10-
DefaultQueryTimeout = time.Second
118
)
129

1310
var (
11+
DefaultLimit = 250
12+
13+
DefaultConnectTimeout = time.Second
14+
DefaultQueryTimeout = time.Second
15+
1416
DefaultReaderBufSize = 16 * 1024
1517
DefaultWriterBufSize = 4 * 1024
1618

0 commit comments

Comments
 (0)