Skip to content

Commit

Permalink
query: reduce initial filter size for now
Browse files Browse the repository at this point in the history
Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 committed Feb 15, 2024
1 parent 62cea9c commit cd37c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,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 {
Expand Down

0 comments on commit cd37c66

Please sign in to comment.