I am making a filter to get the last record sent to a collection
by a device and the query is very simple:
db.getCollection('Device').find({'ID':'1234'}).sort({DateTime: -1}).limit(1)
However, if I do with limit(1)
it gives error the following error:
"Request rate is large".
But if you do with limit
2 or 3 or 10 or n p>