From 1d57beea548a5f138477017fc396babbf22a124d Mon Sep 17 00:00:00 2001 From: m-kus Date: Tue, 13 Oct 2020 20:58:49 +0300 Subject: [PATCH] Revert maxTransfersSize --- internal/elastic/transfers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/elastic/transfers.go b/internal/elastic/transfers.go index 1f6497326..b2cdb7f51 100644 --- a/internal/elastic/transfers.go +++ b/internal/elastic/transfers.go @@ -8,7 +8,7 @@ import ( ) const ( - maxTransfersSize = 100 + maxTransfersSize = 10000 ) // GetTransfersContext - @@ -121,7 +121,7 @@ func (ctx *GetTransfersContext) appendSize() { if ctx.Size > 0 && ctx.Size <= maxTransfersSize { ctx.query.Size(ctx.Size) } else { - ctx.query.Size(defaultSize) + ctx.query.Size(maxTransfersSize) } }