bump limits
parent
2d45234e7b
commit
075e15f218
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue