notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 2a79bdbbabceaee6f8ca7eb8f5d4de4c05c377a4
parent 761012dd04207ee493b29f87805f94b915e4ab0a
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 15 Feb 2024 13:04:32 -0800

query: reduce initial filter size for now

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/app.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app.rs b/src/app.rs @@ -308,7 +308,7 @@ fn setup_initial_nostrdb_subs(damus: &mut Damus) -> Result<()> { .collect(); damus.timelines[0].subscription = Some(damus.ndb.subscribe(filters.clone())?); let txn = Transaction::new(&damus.ndb)?; - let res = damus.ndb.query(&txn, filters, 1000)?; + let res = damus.ndb.query(&txn, filters, 200)?; damus.timelines[0].notes = res .iter() .map(|qr| NoteRef {