Skip to content

Commit

Permalink
Revert maxTransfersSize
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kus committed Oct 13, 2020
1 parent d91a54e commit 1d57bee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/elastic/transfers.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

const (
maxTransfersSize = 100
maxTransfersSize = 10000
)

// GetTransfersContext -
Expand Down Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 1d57bee

Please sign in to comment.