increased the limit of returns by Mongo find()

This commit is contained in:
pb 2025-05-22 14:41:38 +02:00
parent 41ebcf150a
commit b57f050b81

View File

@ -287,7 +287,7 @@ func (m *MongoDB) Search(filters *dbs.Filters, collection_name string) (*mongo.C
return nil, 503, err
}
opts := options.Find()
opts.SetLimit(100)
opts.SetLimit(1000)
targetDBCollection := CollectionMap[collection_name]
orList := bson.A{}
andList := bson.A{}