fixup: 128 instead of 500
500 is excessive Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -285,7 +285,7 @@ func search_profiles<Y>(profiles: Profiles, contacts: Contacts, search: String,
|
|||||||
return [pk]
|
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 aFriendTypePriority = get_friend_type(contacts: contacts, pubkey: a)?.priority ?? 0
|
||||||
let bFriendTypePriority = get_friend_type(contacts: contacts, pubkey: b)?.priority ?? 0
|
let bFriendTypePriority = get_friend_type(contacts: contacts, pubkey: b)?.priority ?? 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user