Limit top hunters query to 10

Fixes: #196
This commit is contained in:
Teemu Patja 2017-12-21 11:44:34 +02:00
parent 40ba44bb14
commit cf7b34a758
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C

View File

@ -572,7 +572,8 @@ pr.commit_sha = i.commit_sha
AND u.id = pr.user_id
AND i.payout_receipt IS NOT NULL
GROUP BY u.id
ORDER BY total_usd DESC;
ORDER BY total_usd DESC
LIMIT 10;
-- :name bounties-activity :? :*