bump referenced rows query limit up
This commit is contained in:
parent
1783ff2845
commit
bd8f371fd5
1 changed files with 2 additions and 2 deletions
|
@ -220,12 +220,12 @@ class SearchIndex:
|
|||
|
||||
reposted_txos = []
|
||||
if repost_hashes:
|
||||
reposted_txos, _, _ = await self.search(**{'claim.claim_hash__in': repost_hashes})
|
||||
reposted_txos, _, _ = await self.search(limit=100, **{'claim_hash__in': list(repost_hashes)})
|
||||
channel_hashes |= set(filter(None, (row['channel_hash'] for row in reposted_txos)))
|
||||
|
||||
channel_txos = []
|
||||
if channel_hashes:
|
||||
channel_txos, _, _ = await self.search(**{'claim.claim_hash__in': channel_hashes})
|
||||
channel_txos, _, _ = await self.search(limit=100, **{'claim_hash__in': list(channel_hashes)})
|
||||
|
||||
# channels must come first for client side inflation to work properly
|
||||
return channel_txos + reposted_txos
|
||||
|
|
Loading…
Reference in a new issue