remove relay__negentropy__maxFilterLimit for now

- this was causing problems on big DBs
- need more reliable way of enforcing limits
This commit is contained in:
Doug Hoyte
2023-06-10 01:34:16 -04:00
parent 40c3d6156a
commit c18ff8099c
4 changed files with 2 additions and 11 deletions

View File

@ -121,7 +121,7 @@ void RelayServer::ingesterProcessNegentropy(lmdb::txn &txn, Decompressor &decomp
if (arr.get_array().size() < 5) throw herr("negentropy query missing elements");
NostrFilterGroup filter;
auto maxFilterLimit = cfg().relay__negentropy__maxFilterLimit;
auto maxFilterLimit = MAX_U64;
if (arr.at(2).is_string()) {
auto ev = lookupEventById(txn, from_hex(arr.at(2).get_string()));