From 58afaaf428221396c28fa0d8023cea2528e6d38b Mon Sep 17 00:00:00 2001 From: Victor Date: Mon, 27 May 2024 16:06:33 +0300 Subject: [PATCH] Re-export some default as vars, change default limit to 250 --- defaults.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/defaults.go b/defaults.go index e9dd019..f562801 100644 --- a/defaults.go +++ b/defaults.go @@ -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