server: round-robin by site when indexing searches
This commit is contained in:
parent
4eaf50cde4
commit
b2e47a9bd4
@ -8,5 +8,6 @@ INNER JOIN feed AS f ON p.site = f.slug -- necessary to weed out nzb posts
|
||||
WHERE
|
||||
search_summary IS NULL
|
||||
-- TODO remove AND link ~ '^<'
|
||||
ORDER BY date DESC
|
||||
ORDER BY
|
||||
ROW_NUMBER() OVER (PARTITION BY site ORDER BY date DESC)
|
||||
LIMIT 100;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user