fixup: 128 instead of 500

500 is excessive

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-09-27 13:52:58 -07:00
parent 262bbf26ea
commit 314774f032

View File

@@ -285,7 +285,7 @@ func search_profiles<Y>(profiles: Profiles, contacts: Contacts, search: String,
return [pk]
}
return profiles.search(search, limit: 500, txn: txn).sorted { a, b in
return profiles.search(search, limit: 128, txn: txn).sorted { a, b in
let aFriendTypePriority = get_friend_type(contacts: contacts, pubkey: a)?.priority ?? 0
let bFriendTypePriority = get_friend_type(contacts: contacts, pubkey: b)?.priority ?? 0