bump limits

feat/add-catawiki
Adam Veldhousen 2023-07-15 17:53:24 -05:00
parent 2d45234e7b
commit 075e15f218
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
1 changed files with 3 additions and 3 deletions

View File

@ -32,12 +32,12 @@ func (cw CatawikiAuctionFinder) Find(ctx context.Context, limit int, results cha
pageSize := 50
if limit > 1000 {
limit = 1000
if limit > 2500 {
limit = 2500
}
if limit <= 0 {
limit = 1000
limit = 2500
}
errg, errgCtx := errgroup.WithContext(ctx)